From 3fbb07fa996104efceed27fbca5c6eccf0b98a66 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 16 Dec 2004 00:05:54 +0000 Subject: [PATCH] yeah, yeah, linux. Don't bother. O_BINARY is a nasty flag from this nasty windows. Keep cool and ignore it git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@649 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/portable.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/portable.h b/src/portable.h index 62ff5d71ca..a3b18660a6 100644 --- a/src/portable.h +++ b/src/portable.h @@ -87,7 +87,11 @@ const char *gras_wsa_err2string(int errcode); #include #ifdef HAVE_SYS_STAT_H -#include +# include +#endif + +#ifndef O_BINARY +# define O_BINARY 0 #endif /**** -- 2.20.1