Explorar o código

Added identify the CPU x64.

Thomas Fischer %!s(int64=11) %!d(string=hai) anos
pai
achega
b1c52f8bb1
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      Engine/source/platform/types.visualc.h

+ 5 - 1
Engine/source/platform/types.visualc.h

@@ -70,7 +70,11 @@ typedef unsigned _int64 U64;
 
 //--------------------------------------
 // Identify the CPU
-#if defined(_M_IX86)
+#if defined(_M_X64)
+#  define TORQUE_CPU_STRING "x64"
+#  define TORQUE_CPU_X64
+#  define TORQUE_LITTLE_ENDIAN
+#elif defined(_M_IX86)
 #  define TORQUE_CPU_STRING "x86"
 #  define TORQUE_CPU_X86
 #  define TORQUE_LITTLE_ENDIAN