From 47e13860d62fc4b3f3d574bb1ba9fbddd4137788 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Tue, 29 Sep 2009 21:58:37 -0700 Subject: AppHdr.h: fix "already defined" macro warnings on OSX and FREEBSD If you specify OSX as a macro, it shouldn't cause the compiler to throw a warning. Signed-off-by: Steven Noonan --- crawl-ref/source/AppHdr.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-54-g00ecf