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