[ros-diffs] [hyperion] 44060: ... on the other hand, O_BINARY is a Win32 thing

hyperion at svn.reactos.org hyperion at svn.reactos.org
Mon Nov 9 23:56:06 CET 2009


Author: hyperion
Date: Mon Nov  9 23:56:06 2009
New Revision: 44060

URL: http://svn.reactos.org/svn/reactos?rev=44060&view=rev
Log:
... on the other hand, O_BINARY is a Win32 thing

Modified:
    trunk/reactos/tools/pefixup.c

Modified: trunk/reactos/tools/pefixup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/pefixup.c?rev=44060&r1=44059&r2=44060&view=diff
==============================================================================
--- trunk/reactos/tools/pefixup.c [iso-8859-1] (original)
+++ trunk/reactos/tools/pefixup.c [iso-8859-1] Mon Nov  9 23:56:06 2009
@@ -25,6 +25,10 @@
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
+
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
 
 /* The following definitions are ripped from MinGW W32API headers. We don't
    use these headers directly in order to allow compilation on Linux hosts. */




More information about the Ros-diffs mailing list