From afeee382cc14a2dbacf9f61217ef0e4209a371e1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 1 Mar 2000 09:51:59 +0000 Subject: [PATCH] Added O_BINARY again. --- include/yaz/yconfig.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 } -- 1.7.10.4