From: Adam Dickmeiss Date: Thu, 4 Sep 1997 07:57:01 +0000 (+0000) Subject: When using UNIX, O_BINARY is defined if it's not already defined. X-Git-Tag: YAZ.1.8~620 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=613ae477d12bbe5ab06383a4c2372d1e4a6d2b62 When using UNIX, O_BINARY is defined if it's not already defined. --- diff --git a/include/yconfig.h b/include/yconfig.h index 8d5540e..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,6 +27,10 @@ #include #endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #endif #endif /* ifndef _VMS_ */