(svn r23356) -Fix: some OSX versions have ScriptOrder defined

This commit is contained in:
truebrain 2011-11-29 23:15:48 +00:00
parent 98103121d4
commit c2398c0fe1
1 changed files with 2 additions and 0 deletions

View File

@ -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