Explorar el Código

Fixed 32-bit build.

Branimir Karadžić hace 11 años
padre
commit
940867fd74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/bx/uint32_t.h

+ 1 - 1
include/bx/uint32_t.h

@@ -629,7 +629,7 @@ namespace bx
 	{
 	{
 #if BX_COMPILER_GCC || BX_COMPILER_CLANG
 #if BX_COMPILER_GCC || BX_COMPILER_CLANG
 		return __builtin_popcountll(_val);
 		return __builtin_popcountll(_val);
-#elif BX_COMPILER_MSVC && BX_PLATFORM_WINDOWS
+#elif BX_COMPILER_MSVC && BX_ARCH_64BIT
 		return __popcnt64(_val);
 		return __popcnt64(_val);
 #else
 #else
 		return uint64_cntbits_ref(_val);
 		return uint64_cntbits_ref(_val);