From 62daee4ffa666dcd82f086fa5fd63644574ca9dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 31 May 2019 20:27:05 -0700 Subject: [PATCH] Fixed build. --- include/bx/platform.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index f70d0c2..fea9543 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -426,7 +426,9 @@ # define BX_ARCH_NAME "64-bit" #endif // BX_ARCH_ -#if defined(__cplusplus) +#if BX_COMPILER_MSVC +# define BX_CPP_NAME "C++MsvcUnknown" +#elif defined(__cplusplus) # if __cplusplus < 201103L # error "Pre-C++11 compiler is not supported!" # elif __cplusplus < 201402L @@ -439,6 +441,8 @@ // See: https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b#orthodox-c # define BX_CPP_NAME "C++WayTooModern" # endif // BX_CPP_NAME +#else +# define BX_CPP_NAME "C++Unknown" #endif // defined(__cplusplus) #endif // BX_PLATFORM_H_HEADER_GUARD