]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxAbort() instead of abort() to fix Windows CE build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 17:01:17 +0000 (17:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 17:01:17 +0000 (17:01 +0000)
abort() is not defined under CE.

Closes #13847.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index 4b21c7fcd2f9dfc5301cf4887c71948239410e6d..49b0f8f1b0f3c0c83c6ab687d65e10c59ded4524 100644 (file)
@@ -1041,7 +1041,7 @@ wxDefaultAssertHandler(const wxString& file,
 {
     // If this option is set, we should abort immediately when assert happens.
     if ( wxSystemOptions::GetOptionInt("exit-on-assert") )
 {
     // If this option is set, we should abort immediately when assert happens.
     if ( wxSystemOptions::GetOptionInt("exit-on-assert") )
-        abort();
+        wxAbort();
 
     // FIXME MT-unsafe
     static int s_bInAssert = 0;
 
     // FIXME MT-unsafe
     static int s_bInAssert = 0;