mirror of https://github.com/OpenTTD/OpenTTD
Fix: warnings when compiling with DJGPP
This was most likely broken for months, if not years.pull/7335/head
parent
18b37e4b81
commit
f52e5a4d61
|
@ -26,7 +26,7 @@
|
||||||
#define TTD_BIG_ENDIAN 1
|
#define TTD_BIG_ENDIAN 1
|
||||||
|
|
||||||
/* Windows has always LITTLE_ENDIAN */
|
/* 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
|
# define TTD_ENDIAN TTD_LITTLE_ENDIAN
|
||||||
#elif defined(OSX)
|
#elif defined(OSX)
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
|
Loading…
Reference in New Issue