summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 23:15:48 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 23:15:48 +0000
commitc2398c0fe11f92ac13b81a21734fdfbd6ce8f8ca (patch)
treef46b762f31e480d381eee407c4fffca8f4d9e756 /src
parent98103121d4f2ed1f1581919b7b1f343ccd410c12 (diff)
downloadopenttd-c2398c0fe11f92ac13b81a21734fdfbd6ce8f8ca.tar.xz
(svn r23356) -Fix: some OSX versions have ScriptOrder defined
Diffstat (limited to 'src')
-rw-r--r--src/os/macosx/osx_stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index 9c1b5b31d..ef09fb6a9 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -42,12 +42,14 @@
#define Rect OTTDRect
#define Point OTTDPoint
#define WindowClass OTTDWindowClass
+#define ScriptOrder OTTDScriptOrder
#include <CoreServices/CoreServices.h>
#undef Rect
#undef Point
#undef WindowClass
+#undef ScriptOrder
/* remove the variables that CoreServices defines, but we define ourselves too */
#undef bool