We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2f5e1 commit 0ac00d9Copy full SHA for 0ac00d9
3rdparty/directx-headers/include/directx/d3d9.h
@@ -42,7 +42,7 @@
42
43
#include <windows.h>
44
45
-#if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500)
+#if !defined(HMONITOR_DECLARED) && (!defined(WINVER) || WINVER < 0x0500)
46
#define HMONITOR_DECLARED
47
DECLARE_HANDLE(HMONITOR);
48
#endif
0 commit comments