diff --git a/Engine/source/platform/types.gcc.h b/Engine/source/platform/types.gcc.h index c8d8664df..e61dcbafb 100644 --- a/Engine/source/platform/types.gcc.h +++ b/Engine/source/platform/types.gcc.h @@ -115,7 +115,7 @@ typedef unsigned long U64; //-------------------------------------- // Identify the CPU -#if defined(i386) +#if defined(i386) || defined(__i386) || defined(__i386__) # define TORQUE_CPU_STRING "Intel x86" # define TORQUE_CPU_X86 # define TORQUE_LITTLE_ENDIAN diff --git a/Engine/source/platformX86UNIX/x86UNIXMath.cpp b/Engine/source/platformX86UNIX/x86UNIXMath.cpp index 1d1ddd6d2..6d3d141c3 100644 --- a/Engine/source/platformX86UNIX/x86UNIXMath.cpp +++ b/Engine/source/platformX86UNIX/x86UNIXMath.cpp @@ -131,7 +131,7 @@ F32 Platform::getRandom() } -#if defined(i386) || defined(__x86_64__) +#if defined(TORQUE_CPU_X86) || defined(__x86_64__) U32 Platform::getMathControlState() {