Ver Fonte

Fixed MSVC build.

Branimir Karadžić há 11 anos atrás
pai
commit
8c6683d5f4
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      include/bx/platform.h

+ 2 - 0
include/bx/platform.h

@@ -48,6 +48,8 @@
 #elif defined(_MSC_VER)
 #elif defined(_MSC_VER)
 #	undef  BX_COMPILER_MSVC
 #	undef  BX_COMPILER_MSVC
 #	define BX_COMPILER_MSVC _MSC_VER
 #	define BX_COMPILER_MSVC _MSC_VER
+#	undef  BX_COMPILER_MSVC_COMPATIBLE
+#	define BX_COMPILER_MSVC_COMPATIBLE _MSC_VER
 #elif defined(__GNUC__)
 #elif defined(__GNUC__)
 #	undef  BX_COMPILER_GCC
 #	undef  BX_COMPILER_GCC
 #	define BX_COMPILER_GCC (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
 #	define BX_COMPILER_GCC (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)