X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyconfig.h;h=394b7a0ae8334692fff2c11a14344266eb4409e0;hb=617d78c63e7a502367abc3504f192770aa537482;hp=8d5540e803137624a2aacbd191f629d1a3ff0c6d;hpb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;p=yaz-moved-to-github.git diff --git a/include/yconfig.h b/include/yconfig.h index 8d5540e..394b7a0 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,23 +27,19 @@ #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 -#define MDF -#else -#ifndef MDF -#define MDF -#endif -#endif - #endif