mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-03-31 19:30:06 +02:00
More big endian targets to detect
This commit is contained in:
parent
42b2822414
commit
c8ab519b77
@ -69,7 +69,7 @@ typedef uint32_t UINT;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: add more architecture detection routines
|
// TODO: add more architecture detection routines
|
||||||
#if __POWERPC__ /* rcg03232004 */
|
#if __POWERPC__ || (defined __ppc64__) || (defined __alpha__) || (defined __sparc__) /* rcg03232004 */
|
||||||
#define PLATFORM_BIGENDIAN 1
|
#define PLATFORM_BIGENDIAN 1
|
||||||
#define PLATFORM_LITTLEENDIAN 0
|
#define PLATFORM_LITTLEENDIAN 0
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user