Added O_BINARY again.
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Mar 2000 09:51:59 +0000 (09:51 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 1 Mar 2000 09:51:59 +0000 (09:51 +0000)
include/yaz/yconfig.h

index 788ad9f..dee4e7f 100644 (file)
@@ -9,6 +9,12 @@
 # endif
 #endif
 
+#ifndef WIN32
+# ifndef O_BINARY
+#  define O_BINARY 0
+# endif
+#endif
+
 #ifdef __cplusplus
 #define YAZ_BEGIN_CDECL extern "C" {
 #define YAZ_END_CDECL }