Skip to content

Commit 068b93c

Browse files
committed
Corrected test for HAVE_INFOEX: should be defined for MSVC on Vista and later. Fixed by Mário Montes.
1 parent 4d553b1 commit 068b93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/pdcwin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#endif
1919
#endif
2020
#if (defined(__CYGWIN__) || defined(__MINGW32__) || defined(__WATCOMC__) \
21-
|| (defined(_MSC_VER) && _MSC_VER >= 1900))
21+
|| (defined(_MSC_VER) && _WIN32_WINNT >= _WIN32_WINNT_VISTA))
2222
#if !defined(HAVE_INFOEX)
2323
# define HAVE_INFOEX
2424
#endif

0 commit comments

Comments
 (0)