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

@@ -1651,6 +1651,7 @@ elseif(WINDOWS)
check_include_file(mmdeviceapi.h HAVE_MMDEVICEAPI_H)
check_include_file(audioclient.h HAVE_AUDIOCLIENT_H)
check_include_file(sensorsapi.h HAVE_SENSORSAPI_H)
check_include_file(shellscalingapi.h HAVE_SHELLSCALINGAPI_H)
if(SDL_AUDIO)
if(NOT WINDOWS_STORE)