2
0
Бранимир Караџић 6 жил өмнө
parent
commit
62daee4ffa

+ 5 - 1
include/bx/platform.h

@@ -426,7 +426,9 @@
 #	define BX_ARCH_NAME "64-bit"
 #	define BX_ARCH_NAME "64-bit"
 #endif // BX_ARCH_
 #endif // BX_ARCH_
 
 
-#if defined(__cplusplus)
+#if BX_COMPILER_MSVC
+#	define BX_CPP_NAME "C++MsvcUnknown"
+#elif defined(__cplusplus)
 #	if __cplusplus < 201103L
 #	if __cplusplus < 201103L
 #		error "Pre-C++11 compiler is not supported!"
 #		error "Pre-C++11 compiler is not supported!"
 #	elif __cplusplus < 201402L
 #	elif __cplusplus < 201402L
@@ -439,6 +441,8 @@
 // See: https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b#orthodox-c
 // See: https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b#orthodox-c
 #		define BX_CPP_NAME "C++WayTooModern"
 #		define BX_CPP_NAME "C++WayTooModern"
 #	endif // BX_CPP_NAME
 #	endif // BX_CPP_NAME
+#else
+#	define BX_CPP_NAME "C++Unknown"
 #endif // defined(__cplusplus)
 #endif // defined(__cplusplus)
 
 
 #endif // BX_PLATFORM_H_HEADER_GUARD
 #endif // BX_PLATFORM_H_HEADER_GUARD