From a72e54840332476495bcac2b381ed5eaf11f49bb Mon Sep 17 00:00:00 2001 From: Marlon Beijer Date: Tue, 16 Jul 2019 00:12:33 +0200 Subject: [PATCH] Add endian switch for Linux as well --- 3rdParty/StormLib/src/StormPort.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/3rdParty/StormLib/src/StormPort.h b/3rdParty/StormLib/src/StormPort.h index 3da0820e5..4de861d01 100644 --- a/3rdParty/StormLib/src/StormPort.h +++ b/3rdParty/StormLib/src/StormPort.h @@ -166,7 +166,10 @@ #include #include - #define PLATFORM_LITTLE_ENDIAN + #ifndef __BIG_ENDIAN__ + #define PLATFORM_LITTLE_ENDIAN + #endif + #define PLATFORM_LINUX #define PLATFORM_DEFINED