From 613ae477d12bbe5ab06383a4c2372d1e4a6d2b62 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 4 Sep 1997 07:57:01 +0000 Subject: [PATCH] When using UNIX, O_BINARY is defined if it's not already defined. --- include/yconfig.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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_ */ -- 1.7.10.4