summaryrefslogtreecommitdiff
path: root/src/fontdetection.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2014-07-30 20:19:29 +0000
committerplanetmaker <planetmaker@openttd.org>2014-07-30 20:19:29 +0000
commitbcb9c64ac850cc7bb145641b707d334bb982a5b2 (patch)
treefa073efa7cc0362071841aa6c830189fc852ce72 /src/fontdetection.cpp
parent8fa42362e984b1dbfb911b78543afc512c9863ea (diff)
downloadopenttd-bcb9c64ac850cc7bb145641b707d334bb982a5b2.tar.xz
(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
Diffstat (limited to 'src/fontdetection.cpp')
-rw-r--r--src/fontdetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontdetection.cpp b/src/fontdetection.cpp
index 0033cdfa7..6df45cf6a 100644
--- a/src/fontdetection.cpp
+++ b/src/fontdetection.cpp
@@ -396,7 +396,7 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face)
} else
#endif
{
-#if (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5) && !__LP64__
+#if (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5) && !defined(__LP64__)
/* This type was introduced with the 10.5 SDK. */
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5)
#define ATSFSSpec FSSpec