mirror of
https://github.com/libAthena/athena.git
synced 2025-12-10 14:07:44 +00:00
compile-time system endian check
This commit is contained in:
@@ -23,12 +23,6 @@ namespace Athena
|
||||
namespace utility
|
||||
{
|
||||
|
||||
bool isSystemBigEndian()
|
||||
{
|
||||
static const atUint8* test = (atUint8*)"\xFE\xFF";
|
||||
return (*(atUint16*)test == 0xFEFF);
|
||||
}
|
||||
|
||||
void fillRandom(atUint8* rndArea, atUint64 count)
|
||||
{
|
||||
for (atUint64 i = 0; i < count; i++)
|
||||
|
||||
Reference in New Issue
Block a user