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
Uses preprocessor define WIN32 instead of WINDOWS to build code
[yaz-moved-to-github.git]
/
include
/
yconfig.h
diff --git
a/include/yconfig.h
b/include/yconfig.h
index
c41e72e
..
8546f31
100644
(file)
--- a/
include/yconfig.h
+++ b/
include/yconfig.h
@@
-5,13
+5,13
@@
#ifndef _VMS_
#ifndef _VMS_
-#ifdef WINDOWS
+#ifdef WIN32
#ifdef YNETINCLUDE
#include <winsock.h>
#endif
#ifdef YNETINCLUDE
#include <winsock.h>
#endif
-#else /* #ifdef WINDOWS */
+#else /* #ifdef WIN32 */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
@@
-35,14
+35,14
@@
#endif /* ifndef _VMS_ */
#ifndef YAZ_EXPORT
#endif /* ifndef _VMS_ */
#ifndef YAZ_EXPORT
-#ifdef WINDOWS
+#ifdef WIN32
#define YAZ_EXPORT __declspec(dllexport)
#else
#define YAZ_EXPORT
#endif
#endif
#define YAZ_EXPORT __declspec(dllexport)
#else
#define YAZ_EXPORT
#endif
#endif
-#ifdef WINDOWS
+#ifdef WIN32
#define MDF
#else
#ifndef MDF
#define MDF
#else
#ifndef MDF