diff options
Diffstat (limited to 'src/heretic/w_wad.c')
-rw-r--r-- | src/heretic/w_wad.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/heretic/w_wad.c b/src/heretic/w_wad.c index b252735c..1c3977e3 100644 --- a/src/heretic/w_wad.c +++ b/src/heretic/w_wad.c @@ -26,18 +26,20 @@ #include <libc.h> #include <ctype.h> -// next doesn't need a binary flag in open call -#define O_BINARY 0 #else #include <malloc.h> -#include <io.h> #include <fcntl.h> #include <sys/stat.h> #endif -#include "DoomDef.h" +// next doesn't need a binary flag in open call +#ifndef O_BINARY +#define O_BINARY 0 +#endif + +#include "doomdef.h" //=============== // TYPES |