Fix MinGW build after MSVC6 removal changes.
Don't define wxUSE_DBGHELP as 1 for MinGW, it was only supposed to be defined as 1 for MSVC (just for all versions of it now that we don't support MSVC6 which couldn't compile this code). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,7 +22,12 @@
|
|||||||
// wxUSE_DBGHELP can be predefined as 0 to avoid the use of dbghelp.dll if this
|
// wxUSE_DBGHELP can be predefined as 0 to avoid the use of dbghelp.dll if this
|
||||||
// is undesirable for some reason.
|
// is undesirable for some reason.
|
||||||
#ifndef wxUSE_DBGHELP
|
#ifndef wxUSE_DBGHELP
|
||||||
#define wxUSE_DBGHELP 1
|
// The only compiler which is known to have the necessary headers is MSVC.
|
||||||
|
#ifdef __VISUALC__
|
||||||
|
#define wxUSE_DBGHELP 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_DBGHELP 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_DBGHELP
|
#if wxUSE_DBGHELP
|
||||||
|
Reference in New Issue
Block a user