From 0ac00d95455a8afe11ea8b7bc078b4aaf5ae5c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 17 Sep 2022 21:47:11 -0700 Subject: [PATCH] Fixed warning. --- 3rdparty/directx-headers/include/directx/d3d9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/directx-headers/include/directx/d3d9.h b/3rdparty/directx-headers/include/directx/d3d9.h index f6e532b71..3a6040722 100644 --- a/3rdparty/directx-headers/include/directx/d3d9.h +++ b/3rdparty/directx-headers/include/directx/d3d9.h @@ -42,7 +42,7 @@ #include -#if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500) +#if !defined(HMONITOR_DECLARED) && (!defined(WINVER) || WINVER < 0x0500) #define HMONITOR_DECLARED DECLARE_HANDLE(HMONITOR); #endif