mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-28 20:41:30 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user