From b6eed38790c4d2f071e275c47b82efe215e9ebb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 24 Oct 2025 16:26:13 -0700 Subject: [PATCH] Fixed Windows build. --- 3rdparty/directx-headers/include/directx/dxgi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/directx-headers/include/directx/dxgi.h b/3rdparty/directx-headers/include/directx/dxgi.h index 0b16c0207..a79f6b02e 100644 --- a/3rdparty/directx-headers/include/directx/dxgi.h +++ b/3rdparty/directx-headers/include/directx/dxgi.h @@ -215,7 +215,7 @@ typedef struct DXGI_ADAPTER_DESC LUID AdapterLuid; } DXGI_ADAPTER_DESC; -#if !defined(HMONITOR_DECLARED) && !defined(HMONITOR) +#if !defined(HMONITOR_DECLARED) && !defined(HMONITOR) && (!defined(WINVER) || WINVER < 0x0500) #define HMONITOR_DECLARED #if 0 typedef HANDLE HMONITOR;