summaryrefslogtreecommitdiff
path: root/src/os/macosx/crashlog_osx.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/os/macosx/crashlog_osx.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/os/macosx/crashlog_osx.cpp')
-rw-r--r--src/os/macosx/crashlog_osx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/crashlog_osx.cpp b/src/os/macosx/crashlog_osx.cpp
index 05816c67e..ad258bbc9 100644
--- a/src/os/macosx/crashlog_osx.cpp
+++ b/src/os/macosx/crashlog_osx.cpp
@@ -33,7 +33,7 @@
#endif
/* printf format specification for 32/64-bit addresses. */
-#if __LP64__
+#ifdef __LP64__
#define PRINTF_PTR "0x%016lx"
#else
#define PRINTF_PTR "0x%08lx"