X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyconfig.h;h=c41e72eccaef86480f1f87bae5305ab181b7f8b5;hb=23cfa431fda52535722e4efdc3f462995937e863;hp=3fa446bce2a41c311e924254a4e37ee799c4d39f;hpb=b64a18142c265f9c760e995b7e400d571434eccf;p=yaz-moved-to-github.git diff --git a/include/yconfig.h b/include/yconfig.h index 3fa446b..c41e72e 100644 --- a/include/yconfig.h +++ b/include/yconfig.h @@ -12,10 +12,6 @@ #endif #else /* #ifdef WINDOWS */ -/* - * Standard Unix headers - */ - #include #include #include @@ -31,10 +27,20 @@ #include #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #endif #endif /* ifndef _VMS_ */ -#include +#ifndef YAZ_EXPORT +#ifdef WINDOWS +#define YAZ_EXPORT __declspec(dllexport) +#else +#define YAZ_EXPORT +#endif +#endif #ifdef WINDOWS #define MDF