Add platform defines for endianness

This commit is contained in:
Kawe Mazidjatari 2023-04-05 23:01:46 +02:00
parent a5489f16b6
commit 596e827352

View File

@ -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.
//-----------------------------------------------------------------------------