summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 447c7af8e2..819b96ae5b 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -48,6 +48,14 @@ REVISION("$Rev$");
#include <sys/stat.h>
#include <SDL_opengl.h>
+/* These aren't defined on Win32 */
+#ifndef S_IWUSR
+#define S_IWUSR (unsigned int)-1
+#endif
+#ifndef S_IRUSR
+#define S_IRUSR (unsigned int)-1
+#endif
+
coord_def Region::NO_CURSOR(-1, -1);
int TextRegion::print_x;