summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-26 15:02:16 +0000
committerrubidium <rubidium@openttd.org>2013-06-26 15:02:16 +0000
commit8f9d2136751dc236b9d0802c9bc6a95e71000296 (patch)
tree8a0808a8226bb748fea77cd7707d94337a13ac86
parent3fe1e9176d4383b1c84d5f5e8631dcf8e931f1eb (diff)
downloadopenttd-8f9d2136751dc236b9d0802c9bc6a95e71000296.tar.xz
(svn r25474) -Fix [FS#5618]: OS X compilation failure
-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 688762be9..0017dc1c6 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -44,6 +44,7 @@
#define WindowClass OTTDWindowClass
#define ScriptOrder OTTDScriptOrder
#define Palette OTTDPalette
+#define GlyphID OTTDGlyphID
#include <CoreServices/CoreServices.h>
#include <ApplicationServices/ApplicationServices.h>
@@ -53,6 +54,7 @@
#undef WindowClass
#undef ScriptOrder
#undef Palette
+#undef GlyphID
/* remove the variables that CoreServices defines, but we define ourselves too */
#undef bool