X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyconfig.h;h=8546f3188312b1289b95306e08b44b35ec593aee;hp=8d5540e803137624a2aacbd191f629d1a3ff0c6d;hb=26fdcc5e41254131ef755b14243c19d202b14d8e;hpb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8 diff --git a/include/yconfig.h b/include/yconfig.h index 8d5540e..8546f31 100644 --- a/include/yconfig.h +++ b/include/yconfig.h @@ -5,17 +5,13 @@ #ifndef _VMS_ -#ifdef WINDOWS +#ifdef WIN32 #ifdef YNETINCLUDE #include #endif -#else /* #ifdef WINDOWS */ -/* - * Standard Unix headers - */ - +#else /* #ifdef WIN32 */ #include #include #include @@ -31,18 +27,22 @@ #include #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #endif #endif /* ifndef _VMS_ */ #ifndef YAZ_EXPORT -#ifdef WINDOWS +#ifdef WIN32 #define YAZ_EXPORT __declspec(dllexport) #else #define YAZ_EXPORT #endif #endif -#ifdef WINDOWS +#ifdef WIN32 #define MDF #else #ifndef MDF