From 739c5499fcab1c165b8dd0591c9fd9e2329b3cf9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 4 Dec 2012 12:28:28 +0000 Subject: [PATCH] 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 --- include/wx/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.50.0