summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index c3ea5a403c..b3fa86b3e9 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -25,10 +25,14 @@
// For a list of predefined macros, see
// http://predef.sourceforge.net/
#if defined(__MACH__)
+ #ifndef OSX
#define OSX
+ #endif
#endif
#if defined(__FreeBSD__)
+ #ifndef FREEBSD
#define FREEBSD
+ #endif
#endif
// The maximum memory that the user-script Lua interpreter can