# HG changeset patch # User Patric Stout # Date 2019-03-05 20:56:26 # Node ID 63c04d5b95c58c3eadc2cfb04704493a3e61f4f0 # Parent e3ac13afe6a6e01116216a317af34d17ea456a0b Fix: warnings when compiling with DJGPP This was most likely broken for months, if not years. diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp --- 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