From: Vadim Zeitlin Date: Tue, 4 Dec 2012 12:28:28 +0000 (+0000) Subject: Compilation fir for VC6 after r73124. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/739c5499fcab1c165b8dd0591c9fd9e2329b3cf9 Compilation fir for VC6 after r73124. VC6 doesn't have __debugbreak(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/debug.h b/include/wx/debug.h index b6a61e293e..ab68145fcf 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -257,7 +257,7 @@ extern WXDLLIMPEXP_BASE void wxOnAssert(const char *file, // If possible, we prefer to define it as a macro rather than as a function // to open the debugger at the position where we trapped and not inside the // trap function itself which is not very useful. - #ifdef __VISUALC__ + #if wxCHECK_VISUALC_VERSION(7) #define wxTrap() __debugbreak() #else extern WXDLLIMPEXP_BASE void wxTrap();