Skip to content

Commit

Permalink
MinGW warning cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yagisan committed Jun 12, 2007
1 parent 2f59924 commit 72d583b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/external/lzss/unix/src/lzss.c
Expand Up @@ -69,7 +69,8 @@

// MACROS ------------------------------------------------------------------

#define O_BINARY 0
Disable this because of: warning: "O_BINARY" redefined on mingw
//#define O_BINARY 0

#define FILE_OPEN(filename, handle) handle = open(filename, O_RDONLY | O_BINARY)
#define FILE_CREATE(filename, handle) handle = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0664)
Expand Down

0 comments on commit 72d583b

Please sign in to comment.