mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r23356) -Fix: some OSX versions have ScriptOrder defined
This commit is contained in:
parent
98103121d4
commit
c2398c0fe1
@ -42,12 +42,14 @@
|
|||||||
#define Rect OTTDRect
|
#define Rect OTTDRect
|
||||||
#define Point OTTDPoint
|
#define Point OTTDPoint
|
||||||
#define WindowClass OTTDWindowClass
|
#define WindowClass OTTDWindowClass
|
||||||
|
#define ScriptOrder OTTDScriptOrder
|
||||||
|
|
||||||
#include <CoreServices/CoreServices.h>
|
#include <CoreServices/CoreServices.h>
|
||||||
|
|
||||||
#undef Rect
|
#undef Rect
|
||||||
#undef Point
|
#undef Point
|
||||||
#undef WindowClass
|
#undef WindowClass
|
||||||
|
#undef ScriptOrder
|
||||||
|
|
||||||
/* remove the variables that CoreServices defines, but we define ourselves too */
|
/* remove the variables that CoreServices defines, but we define ourselves too */
|
||||||
#undef bool
|
#undef bool
|
||||||
|
Loading…
Reference in New Issue
Block a user