Skip to content

Commit 0ac00d9

Browse files
committed
Fixed warning.
1 parent dc2f5e1 commit 0ac00d9

File tree

1 file changed

+1
-1
lines changed
  • 3rdparty/directx-headers/include/directx

1 file changed

+1
-1
lines changed

3rdparty/directx-headers/include/directx/d3d9.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
#include <windows.h>
4444

45-
#if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500)
45+
#if !defined(HMONITOR_DECLARED) && (!defined(WINVER) || WINVER < 0x0500)
4646
#define HMONITOR_DECLARED
4747
DECLARE_HANDLE(HMONITOR);
4848
#endif

0 commit comments

Comments
 (0)