浏览代码

Fixed Windows build.

Branimir Karadžić 1 月之前
父节点
当前提交
b6eed38790
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      3rdparty/directx-headers/include/directx/dxgi.h

+ 1 - 1
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;