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;