Branimir Karadžić 9 anos atrás
pai
commit
c508afbc09
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      include/bx/platform.h

+ 4 - 1
include/bx/platform.h

@@ -80,7 +80,10 @@
 #	if defined(__GLIBC__)
 #	if defined(__GLIBC__)
 #		undef  BX_CRT_GLIBC
 #		undef  BX_CRT_GLIBC
 #		define BX_CRT_GLIBC (__GLIBC__ * 10000 + __GLIBC_MINOR__ * 100)
 #		define BX_CRT_GLIBC (__GLIBC__ * 10000 + __GLIBC_MINOR__ * 100)
-#	endif // defined(__GLIBC__)
+#	elif defined(__MINGW32__) || defined(__MINGW64__)
+#		undef  BX_CRT_MINGW
+#		define BX_CRT_MINGW 1
+#	endif //
 #else
 #else
 #	error "BX_COMPILER_* is not defined!"
 #	error "BX_COMPILER_* is not defined!"
 #endif //
 #endif //