Correct configure check for debug help API availability
The check added in 841af56084
was not good
enough, some MinGW versions do have imagehlp.h, but don't define all the API
functions we need in it. Luckily, we can check for this simply by verifying
that API_VERSION_NUMBER is big enough.
Closes #17451.
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -35939,6 +35939,9 @@ main ()
|
||||
#ifndef API_VERSION_NUMBER
|
||||
#error API_VERSION_NUMBER not defined!
|
||||
#endif
|
||||
#if API_VERSION_NUMBER < 9
|
||||
#error API_VERSION_NUMBER at least 9 required.
|
||||
#endif
|
||||
|
||||
;
|
||||
return 0;
|
||||
|
@@ -7173,6 +7173,9 @@ if test "$USE_WIN32" = 1 ; then
|
||||
#ifndef API_VERSION_NUMBER
|
||||
#error API_VERSION_NUMBER not defined!
|
||||
#endif
|
||||
#if API_VERSION_NUMBER < 9
|
||||
#error API_VERSION_NUMBER at least 9 required.
|
||||
#endif
|
||||
],
|
||||
wx_cv_lib_debughlp=yes,
|
||||
wx_cv_lib_debughlp=no
|
||||
|
Reference in New Issue
Block a user