Merge pull request #1677 from Areloch/i386FlagFlip

Flips the i386 flag to __i386__
This commit is contained in:
Areloch 2016-07-09 12:39:01 -05:00 committed by GitHub
commit ea0ba04a9c
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ typedef unsigned long U64;
//-------------------------------------- //--------------------------------------
// Identify the CPU // Identify the CPU
#if defined(i386) #if defined(i386) || defined(__i386) || defined(__i386__)
# define TORQUE_CPU_STRING "Intel x86" # define TORQUE_CPU_STRING "Intel x86"
# define TORQUE_CPU_X86 # define TORQUE_CPU_X86
# define TORQUE_LITTLE_ENDIAN # define TORQUE_LITTLE_ENDIAN

View file

@ -131,7 +131,7 @@ F32 Platform::getRandom()
} }
#if defined(i386) || defined(__x86_64__) #if defined(TORQUE_CPU_X86) || defined(__x86_64__)
U32 Platform::getMathControlState() U32 Platform::getMathControlState()
{ {