Fix linux compilation (O_BINARY).
authorFlorian Schulze <crow@icculus.org>
Fri, 16 Aug 2002 20:00:07 +0000 (20:00 +0000)
committerFlorian Schulze <crow@icculus.org>
Fri, 16 Aug 2002 20:00:07 +0000 (20:00 +0000)
main.c

diff --git a/main.c b/main.c
index d8d8616..263bb33 100644 (file)
--- a/main.c
+++ b/main.c
@@ -2689,6 +2689,9 @@ void deinit_level(void)
 #ifndef PATH_MAX
 #define PATH_MAX 1024
 #endif
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
 
 unsigned char *datafile_buffer = NULL;