summaryrefslogtreecommitdiff
path: root/src/heretic/w_wad.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-05 00:33:18 +0000
committerSimon Howard2008-09-05 00:33:18 +0000
commit15f26fadf4315e0336fd0e2c68e7162c29bbffcb (patch)
tree5e50dd7fc6c82135c5e83019a26611df88d4dc8d /src/heretic/w_wad.c
parentc7ddc423f67236a99956960cf9fe89abf077839b (diff)
downloadchocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.tar.gz
chocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.tar.bz2
chocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.zip
Fix #include statements to use lower case filenames. Add automake
configuration for building heretic/hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1198
Diffstat (limited to 'src/heretic/w_wad.c')
-rw-r--r--src/heretic/w_wad.c10
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