Argh, this really shouldn't be needed but is.

This commit is contained in:
Henrik Rydgard 2013-07-26 01:18:40 +02:00
parent b3ea250122
commit 1533b588e3
2 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,12 @@ typedef signed long long s64;
#endif // _WIN32
#ifdef ANDROID
#undef BIG_ENDIAN
#undef __BIG_ENDIAN__
#endif
#if !BIG_ENDIAN && !__BIG_ENDIAN__
typedef u32 u32_le;
typedef u16 u16_le;

View File

@ -108,6 +108,12 @@ struct Glyph {
u32 ptr;
};
#ifdef ANDROID
#undef BIG_ENDIAN
#undef __BIG_ENDIAN__
#endif
#if !BIG_ENDIAN && !__BIG_ENDIAN__
typedef FontPixelFormat FontPixelFormat_le;
#else