X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyconfig.h;h=8546f3188312b1289b95306e08b44b35ec593aee;hp=3fa446bce2a41c311e924254a4e37ee799c4d39f;hb=26fdcc5e41254131ef755b14243c19d202b14d8e;hpb=b64a18142c265f9c760e995b7e400d571434eccf diff --git a/include/yconfig.h b/include/yconfig.h index 3fa446b..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,12 +27,22 @@ #include #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #endif #endif /* ifndef _VMS_ */ -#include +#ifndef YAZ_EXPORT +#ifdef WIN32 +#define YAZ_EXPORT __declspec(dllexport) +#else +#define YAZ_EXPORT +#endif +#endif -#ifdef WINDOWS +#ifdef WIN32 #define MDF #else #ifndef MDF