summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-03-03 21:43:24 +0000
committerrubidium <rubidium@openttd.org>2011-03-03 21:43:24 +0000
commit59e42ea17823d5ab1a46808965d74a2b27a04ea4 (patch)
treed9a7c204fb555f5b39020f5e1a37bd34d75f12be /src/os
parent25c7bdde662fc757be58d7dec52112439db67469 (diff)
downloadopenttd-59e42ea17823d5ab1a46808965d74a2b27a04ea4.tar.xz
(svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/osx_stdafx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index 403269dbd..9c1b5b31d 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -32,7 +32,7 @@
#endif
/* Check for mismatching 'architectures' */
-#if !defined(STRGEN) && ((__LP64__ && !defined(_SQ64)) || (!__LP64__ && defined(_SQ64)))
+#if !defined(STRGEN) && !defined(SETTINGSGEN) && ((__LP64__ && !defined(_SQ64)) || (!__LP64__ && defined(_SQ64)))
# error "Compiling 64 bits without _SQ64 set! (or vice versa)"
#endif