Explorar o código

Inline asm is not yet supported by clang

Ben Payne %!s(int64=10) %!d(string=hai) anos
pai
achega
27c9e79906
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Engine/source/platform/types.visualc.h

+ 2 - 0
Engine/source/platform/types.visualc.h

@@ -84,8 +84,10 @@ typedef unsigned _int64 U64;
 #  define TORQUE_CPU_STRING "x86"
 #  define TORQUE_CPU_X86
 #  define TORQUE_LITTLE_ENDIAN
+#ifndef __clang__ // asm not yet supported with clang
 #  define TORQUE_SUPPORTS_NASM
 #  define TORQUE_SUPPORTS_VC_INLINE_X86_ASM
+#endif
 #elif defined( TORQUE_OS_XENON )
 #  define TORQUE_CPU_STRING "ppc"
 #  define TORQUE_CPU_PPC