From: mquinson Date: Thu, 16 Dec 2004 00:05:54 +0000 (+0000) Subject: yeah, yeah, linux. Don't bother. O_BINARY is a nasty flag from this nasty windows... X-Git-Tag: v3.3~4701 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3fbb07fa996104efceed27fbca5c6eccf0b98a66?ds=sidebyside 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 --- 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 /****