summaryrefslogtreecommitdiff
path: root/src/core
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/core
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/core')
-rw-r--r--src/core/endian_type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp
index 7c00d91fa..ad0b814c6 100644
--- a/src/core/endian_type.hpp
+++ b/src/core/endian_type.hpp
@@ -26,7 +26,7 @@
#define TTD_ENDIAN TTD_LITTLE_ENDIAN
#elif !defined(TESTING)
/* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
- #if defined(STRGEN)
+ #if defined(STRGEN) || defined(SETTINGSGEN)
#include "endian_host.h"
#else
#include "endian_target.h"