Implemented data1_add_insert_taggeddata utility which is more flexible
[yaz-moved-to-github.git] / include / yconfig.h
index 3fa446b..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_ */
 
-#include <xmalloc.h>
+#ifndef YAZ_EXPORT
+#ifdef WINDOWS
+#define YAZ_EXPORT __declspec(dllexport)
+#else
+#define YAZ_EXPORT
+#endif
+#endif
 
 #ifdef WINDOWS
 #define MDF