mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-15 15:57:13 +00:00
Cygwin doesn't have O_ASYNC, so fix compilation. (#151)
It looks like Cygwin doesn't actually support signal-based I/O, so while this compiles, it won't be correct and will need addressing in another way.
This commit is contained in:
parent
a47119f006
commit
0bbdf606b6
@ -28,8 +28,8 @@
|
||||
#include <unistd.h>
|
||||
#endif /* DOS */
|
||||
|
||||
#ifdef OS5
|
||||
/* Solaris doesn't define O_ASYNC, yet still defines FASYNC. */
|
||||
#if (defined(OS5) || defined(__CYGWIN__)) && !defined(O_ASYNC)
|
||||
/* Cygwin and Solaris don't define O_ASYNC, yet still define FASYNC. */
|
||||
#define O_ASYNC FASYNC
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user