From 4e67e34c4b6fb1260459c57f93bc46f164ff22c3 Mon Sep 17 00:00:00 2001 From: Francis Hart Date: Mon, 27 Feb 2023 17:11:41 +0200 Subject: [PATCH] Fix use of undefined preprocessor token (#294) The platform.h header was using the _USING_V110_SDK71_ without first checking if it was defined, causing compiler warnings for windows builds. --- include/bx/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index 4edd99b..83d9c3b 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -160,7 +160,7 @@ # define NOMINMAX # endif // NOMINMAX // If _USING_V110_SDK71_ is defined it means we are using the v110_xp or v120_xp toolset. -# if defined(_MSC_VER) && (_MSC_VER >= 1700) && (!_USING_V110_SDK71_) +# if defined(_MSC_VER) && (_MSC_VER >= 1700) && !defined(_USING_V110_SDK71_) # include # endif // defined(_MSC_VER) && (_MSC_VER >= 1700) && (!_USING_V110_SDK71_) # if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)