From: Adam Dickmeiss Date: Wed, 1 Mar 2000 09:51:59 +0000 (+0000) Subject: Added O_BINARY again. X-Git-Tag: YAZ.1.8~256 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=afeee382cc14a2dbacf9f61217ef0e4209a371e1 Added O_BINARY again. --- 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 }