check for shellscalingapi.h presence instead of WINVER >= 0x0603

This commit is contained in:
Ozkan Sezer
2022-06-18 21:51:32 +03:00
committed by Sam Lantinga
parent 5f6d0abebe
commit a8d41b3b45
7 changed files with 27 additions and 6 deletions

View File

@@ -122,6 +122,9 @@ typedef unsigned int uintptr_t;
#if defined(WDK_NTDDI_VERSION) && WDK_NTDDI_VERSION > 0x0A000008 /* 10.0.19041.0 */
#define HAVE_D3D12_H 1
#endif
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0603 /* Windows 8.1 SDK */
#define HAVE_SHELLSCALINGAPI_H 1
#endif
#define HAVE_MMDEVICEAPI_H 1
#define HAVE_AUDIOCLIENT_H 1
#define HAVE_TPCSHRD_H 1