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.
This commit is contained in:
Francis Hart
2023-02-27 17:11:41 +02:00
committed by GitHub
parent acf0214577
commit 4e67e34c4b

View File

@@ -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 <winapifamily.h>
# endif // defined(_MSC_VER) && (_MSC_VER >= 1700) && (!_USING_V110_SDK71_)
# if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)