Fix checking __MINGW64_VERSION_MAJOR for wxUSE_WEBREQUEST_WINHTTP

It is not yet defined for setup.h, so check it in chkconf.h.
Fixes #19105
This commit is contained in:
Maarten Bent
2021-03-18 20:50:06 +01:00
parent 5bdd5e1432
commit 3cc48e2e56
6 changed files with 10 additions and 25 deletions

View File

@@ -691,11 +691,7 @@
#cmakedefine01 wxUSE_GRAPHICS_DIRECT2D
#endif
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
#cmakedefine01 wxUSE_WEBREQUEST_WINHTTP
#else
#cmakedefine01 wxUSE_WEBREQUEST_WINHTTP
#endif
#cmakedefine01 wxUSE_WEBREQUEST_WINHTTP
#cmakedefine01 wxUSE_OLE