projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed data1_gettagbyname. Bug introduced by previous revision.
[yaz-moved-to-github.git]
/
include
/
yconfig.h
diff --git
a/include/yconfig.h
b/include/yconfig.h
index
b8d1fab
..
c41e72e
100644
(file)
--- a/
include/yconfig.h
+++ b/
include/yconfig.h
@@
-3,19
+3,15
@@
/* System includes */
/* System includes */
-#ifdef _VMS_
+#ifndef _VMS_
-#elif WINDOWS
+#ifdef WINDOWS
#ifdef YNETINCLUDE
#include <winsock.h>
#endif
#ifdef YNETINCLUDE
#include <winsock.h>
#endif
-#else
-/*
- * Standard Unix headers
- */
-
+#else /* #ifdef WINDOWS */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
@@
-31,9
+27,20
@@
#include <sys/select.h>
#endif
#include <sys/select.h>
#endif
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
+
#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
#ifdef WINDOWS
#define MDF