From eeac43c3f79cf52c75605e86cb1b1eaf14b01ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Wed, 5 Sep 2018 22:45:06 +0200 Subject: [PATCH] Win32: Fix symbol definition detection Related to #1320. --- src/win32_platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32_platform.h b/src/win32_platform.h index 829eba20..fa9f041c 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -146,10 +146,10 @@ typedef enum } MONITOR_DPI_TYPE; #endif /*DPI_ENUMS_DECLARED*/ -#ifndef _DPI_AWARENESS_CONTEXTS_ +#ifndef DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 DECLARE_HANDLE(DPI_AWARENESS_CONTEXT); #define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 ((DPI_AWARENESS_CONTEXT) -4) -#endif /*_DPI_AWARENESS_CONTEXTS_*/ +#endif /*DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2*/ // HACK: Define versionhelpers.h functions manually as MinGW lacks the header #define IsWindowsXPOrGreater() \