summaryrefslogtreecommitdiff
path: root/src/core/endian_type.hpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-04 20:51:46 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-05 22:22:00 +0100
commit1c5ea330994f183438a47cafd382bfdb53b24888 (patch)
tree752a86510e2beef7168971d05211415d467ef7da /src/core/endian_type.hpp
parentaa350528dfbfc8175f140202252cfdc6dbf46aa8 (diff)
downloadopenttd-1c5ea330994f183438a47cafd382bfdb53b24888.tar.xz
Fix: warnings when compiling for a recent version of Haiku
This might break older Haiku versions, but it is hard to tell.
Diffstat (limited to 'src/core/endian_type.hpp')
-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 4058c5c19..1cacf6c0c 100644
--- a/src/core/endian_type.hpp
+++ b/src/core/endian_type.hpp
@@ -26,7 +26,7 @@
#define TTD_BIG_ENDIAN 1
/* Windows has always LITTLE_ENDIAN */
-#if defined(_WIN32) || defined(__OS2__)
+#if defined(_WIN32) || defined(__OS2__) || defined(__HAIKU__)
# define TTD_ENDIAN TTD_LITTLE_ENDIAN
#elif defined(OSX)
# include <sys/types.h>