Added missing C decl macros for soap.h and srw.h.
[yaz-moved-to-github.git] / include / yaz / yconfig.h
index 9d831f0..5c995b4 100644 (file)
@@ -1,10 +1,13 @@
+/*
+ * Copyright (c) 1995-2003, Index Data.
+ * See the file LICENSE for details.
+ *
+ * $Id: yconfig.h,v 1.6 2003-02-18 14:28:52 adam Exp $
+ */
+
 #ifndef YCONFIG_H
 #define YCONFIG_H
 
-#if HAVE_CONFIG_H
-#include <yaz/config.h>
-#endif
-
 #ifndef YAZ_EXPORT
 # ifdef WIN32
 #  define YAZ_EXPORT __declspec(dllexport)
 # 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 }