Fix: warnings when compiling with DJGPP

This was most likely broken for months, if not years.
This commit is contained in:
Patric Stout 2019-03-05 21:56:26 +01:00
parent 18b37e4b81
commit f52e5a4d61
1 changed files with 1 additions and 1 deletions

View File

@ -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>