summaryrefslogtreecommitdiff
path: root/src/core/endian_type.hpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-05 21:56:26 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-05 22:22:00 +0100
commitf52e5a4d6191a63b69a6e35950a8bf1a9d8e9a12 (patch)
tree7a0fd102a5cf90a464d0654cb8b1e7a8ba4cb0a4 /src/core/endian_type.hpp
parent18b37e4b81202deea37461a162a5ea95084e2b09 (diff)
downloadopenttd-f52e5a4d6191a63b69a6e35950a8bf1a9d8e9a12.tar.xz
Fix: warnings when compiling with DJGPP
This was most likely broken for months, if not years.
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 1cacf6c0c..6e5defc64 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__) || defined(__HAIKU__)
+#if defined(_WIN32) || defined(__OS2__) || defined(__HAIKU__) || defined(__DJGPP__)
# define TTD_ENDIAN TTD_LITTLE_ENDIAN
#elif defined(OSX)
# include <sys/types.h>