X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fyaz%2Fyconfig.h;h=dee4e7f07612e69019f0a747c237b077de30f528;hb=afeee382cc14a2dbacf9f61217ef0e4209a371e1;hp=788ad9f3ab54ddcd765d070042a6d20602eece2e;hpb=5641875c76fe4e239731fb97ac528f05a3c2de91;p=yaz-moved-to-github.git diff --git a/include/yaz/yconfig.h b/include/yaz/yconfig.h index 788ad9f..dee4e7f 100644 --- a/include/yaz/yconfig.h +++ b/include/yaz/yconfig.h @@ -9,6 +9,12 @@ # endif #endif +#ifndef WIN32 +# ifndef O_BINARY +# define O_BINARY 0 +# endif +#endif + #ifdef __cplusplus #define YAZ_BEGIN_CDECL extern "C" { #define YAZ_END_CDECL }