summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-09-04 01:00:54 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-04 01:00:54 +0200
commit44b74594620b0541f2ca740dad19b6f875c6f982 (patch)
tree80b57df250d6b1acaea7d48d78bc39e952d0a343 /crawl-ref/source/libunix.h
parentec1df58464ee74084ca675b190e8b0c652262d76 (diff)
downloadcrawl-ref-44b74594620b0541f2ca740dad19b6f875c6f982.tar.gz
crawl-ref-44b74594620b0541f2ca740dad19b6f875c6f982.zip
Fix tiles compile.
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r--crawl-ref/source/libunix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h
index 9654ba3796..54c39e7ed0 100644
--- a/crawl-ref/source/libunix.h
+++ b/crawl-ref/source/libunix.h
@@ -5,14 +5,14 @@
#ifndef LIBUNIX_H
#define LIBUNIX_H
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
+
#ifndef USE_TILE
// Some replacement routines missing in gcc
-#ifndef O_BINARY
-#define O_BINARY O_RDWR
-#endif
-
#ifdef UNICODE_GLYPHS
typedef unsigned int screen_buffer_t;
#else