SRW, CQL, 2003
[yaz-moved-to-github.git] / include / yaz / yconfig.h
index 788ad9f..fbb6d48 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 1995-2000, Index Data.
+ * See the file LICENSE for details.
+ *
+ * $Id: yconfig.h,v 1.5 2000-03-01 09:53:32 adam Exp $
+ */
+
 #ifndef YCONFIG_H
 #define YCONFIG_H
 
@@ -9,6 +16,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 }