mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Mac build fix (weird, BIG_ENDIAN really shouldn't be defined)
This commit is contained in:
parent
61351e4b59
commit
9fc57894ab
2 changed files with 13 additions and 1 deletions
|
@ -28,6 +28,17 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
// Seriously, WTF?
|
||||
#ifdef __APPLE__
|
||||
#ifdef BIG_ENDIAN
|
||||
#undef BIG_ENDIAN
|
||||
#endif
|
||||
#ifdef __BIG_ENDIAN__
|
||||
#undef __BIG_ENDIAN__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
typedef unsigned __int8 u8;
|
||||
|
|
|
@ -108,7 +108,8 @@ struct Glyph {
|
|||
u32 ptr;
|
||||
};
|
||||
|
||||
#if !defined(BIG_ENDIAN) && !defined(__BIG_ENDIAN__)
|
||||
// Bizarre that we need __APPLE__ here.
|
||||
#if defined(__APPLE__) || !defined(BIG_ENDIAN) && !defined(__BIG_ENDIAN__)
|
||||
typedef FontPixelFormat FontPixelFormat_le;
|
||||
#else
|
||||
error FIX ME
|
||||
|
|
Loading…
Add table
Reference in a new issue