forked from mirror/OpenTTD
(svn r23356) -Fix: some OSX versions have ScriptOrder defined
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user