Mercurial > hg > openttd
changeset 18512:28d01e15d5e6 draft
(svn r23356) -Fix: some OSX versions have ScriptOrder defined
author | truebrain <truebrain@openttd.org> |
---|---|
date | Tue, 29 Nov 2011 23:15:48 +0000 |
parents | f1214da4c397 |
children | 8813b628cb8c |
files | src/os/macosx/osx_stdafx.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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