X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyconfig.h;h=c41e72eccaef86480f1f87bae5305ab181b7f8b5;hb=23cfa431fda52535722e4efdc3f462995937e863;hp=b8d1fabc8c054dd5ed40414b09bfbd291ff100be;hpb=bc33b8b53697bcc10a02f7e7456fd75b2c3473ef;p=yaz-moved-to-github.git diff --git a/include/yconfig.h b/include/yconfig.h index b8d1fab..c41e72e 100644 --- a/include/yconfig.h +++ b/include/yconfig.h @@ -3,19 +3,15 @@ /* System includes */ -#ifdef _VMS_ +#ifndef _VMS_ -#elif WINDOWS +#ifdef WINDOWS #ifdef YNETINCLUDE #include #endif -#else -/* - * Standard Unix headers - */ - +#else /* #ifdef WINDOWS */ #include #include #include @@ -31,9 +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