Skip to content

Commit

Permalink
Fix: warnings when compiling with DJGPP
Browse files Browse the repository at this point in the history
This was most likely broken for months, if not years.
  • Loading branch information
TrueBrain committed Mar 5, 2019
1 parent 18b37e4 commit f52e5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/endian_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f52e5a4

Please sign in to comment.