mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 01:46:25 +00:00
check for shellscalingapi.h presence instead of WINVER >= 0x0603
This commit is contained in:

committed by
Sam Lantinga

parent
5f6d0abebe
commit
a8d41b3b45
@@ -274,7 +274,7 @@ typedef struct DISPLAYCONFIG_TARGET_DEVICE_NAME
|
||||
|
||||
#endif /* WINVER < 0x0601 */
|
||||
|
||||
#if WINVER < 0x0603
|
||||
#ifndef HAVE_SHELLSCALINGAPI_H
|
||||
|
||||
typedef enum MONITOR_DPI_TYPE {
|
||||
MDT_EFFECTIVE_DPI = 0,
|
||||
@@ -291,7 +291,7 @@ typedef enum PROCESS_DPI_AWARENESS {
|
||||
|
||||
#else
|
||||
#include <shellscalingapi.h>
|
||||
#endif /* WINVER < 0x0603 */
|
||||
#endif
|
||||
|
||||
#ifndef _DPI_AWARENESS_CONTEXTS_
|
||||
|
||||
|
Reference in New Issue
Block a user