mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add platform defines for endianness
This commit is contained in:
parent
a5489f16b6
commit
596e827352
@ -190,6 +190,12 @@
|
||||
#define IsGameConsole() 0
|
||||
#endif
|
||||
|
||||
#if defined( _SGI_SOURCE ) || defined( PLATFORM_X360 ) || defined( _PS3 )
|
||||
#define PLAT_BIG_ENDIAN 1
|
||||
#else
|
||||
#define PLAT_LITTLE_ENDIAN 1
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Set up build configuration defines.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user