Browse Source

make iOS builds for A7 (64-bit)

Paul Jan 11 years ago
parent
commit
fbe5b40a6d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      engine/source/platform/types.gcc.h

+ 6 - 0
engine/source/platform/types.gcc.h

@@ -137,6 +137,12 @@ typedef unsigned long long  U64;
 #  define TORQUE_CPU_ARM
 #  define TORQUE_CPU_ARM
 #  define TORQUE_LITTLE_ENDIAN
 #  define TORQUE_LITTLE_ENDIAN
 
 
+#elif defined(__arm64__)
+#  define TORQUE_CPU_STRING "ARM"
+#  define TORQUE_CPU_ARM
+#  define TORQUE_LITTLE_ENDIAN
+#  define TORQUE_64
+
 #elif defined(EMSCRIPTEN)
 #elif defined(EMSCRIPTEN)
 
 
 #  define TORQUE_OS_STRING "Emscripten"
 #  define TORQUE_OS_STRING "Emscripten"