When using UNIX, O_BINARY is defined if it's not already defined.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 4 Sep 1997 07:57:01 +0000 (07:57 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 4 Sep 1997 07:57:01 +0000 (07:57 +0000)
include/yconfig.h

index 8d5540e..c41e72e 100644 (file)
 #endif
 
 #else /* #ifdef WINDOWS */
-/*
- * Standard Unix headers
- */
-
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <sys/select.h>
 #endif
 
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
+
 #endif
 #endif /* ifndef _VMS_ */