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&a... ============================================================================== --- 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. */