mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Flipa the i386 preprocessor flag to use __i386__, which is appraently more standard.
This commit is contained in:
parent
887ccb2ac1
commit
911b2735d7
2 changed files with 3 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ typedef unsigned long U64;
|
||||||
# define TORQUE_OS_STRING "MacOS X"
|
# define TORQUE_OS_STRING "MacOS X"
|
||||||
# define TORQUE_OS_MAC
|
# define TORQUE_OS_MAC
|
||||||
# include "platform/types.mac.h"
|
# include "platform/types.mac.h"
|
||||||
# if defined(i386)
|
# if defined(__i386__)
|
||||||
// Disabling ASM on XCode for shared library build code relocation issues
|
// Disabling ASM on XCode for shared library build code relocation issues
|
||||||
// This could be reconfigured for static builds, though minimal impact
|
// This could be reconfigured for static builds, though minimal impact
|
||||||
//# define TORQUE_SUPPORTS_NASM
|
//# define TORQUE_SUPPORTS_NASM
|
||||||
|
|
@ -115,7 +115,7 @@ typedef unsigned long U64;
|
||||||
|
|
||||||
//--------------------------------------
|
//--------------------------------------
|
||||||
// Identify the CPU
|
// Identify the CPU
|
||||||
#if defined(i386)
|
#if 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
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ F32 Platform::getRandom()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(i386) || defined(__x86_64__)
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
|
|
||||||
U32 Platform::getMathControlState()
|
U32 Platform::getMathControlState()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue