Inline asm is not yet supported by clang

This commit is contained in:
Ben Payne 2015-03-05 14:57:58 -05:00
parent 608a43ba2a
commit 27c9e79906

View file

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