Fix: warnings when compiling for a recent version of Haiku

This might break older Haiku versions, but it is hard to tell.
This commit is contained in:
Patric Stout
2019-03-04 20:51:46 +01:00
parent aa350528df
commit 1c5ea33099
4 changed files with 13 additions and 12 deletions

View File

@@ -26,7 +26,7 @@
#define TTD_BIG_ENDIAN 1
/* Windows has always LITTLE_ENDIAN */
#if defined(_WIN32) || defined(__OS2__)
#if defined(_WIN32) || defined(__OS2__) || defined(__HAIKU__)
# define TTD_ENDIAN TTD_LITTLE_ENDIAN
#elif defined(OSX)
# include <sys/types.h>