From: Vadim Zeitlin Date: Tue, 10 Jan 2012 17:01:17 +0000 (+0000) Subject: Use wxAbort() instead of abort() to fix Windows CE build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d58c7af849abb1629190aafa2b146207fe6142b7?hp=975dc6910e8169e8a996b51de6b16f5cd3ed10a4 Use wxAbort() instead of abort() to fix Windows CE build. 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 --- diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 4b21c7fcd2..49b0f8f1b0 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -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") ) - abort(); + wxAbort(); // FIXME MT-unsafe static int s_bInAssert = 0;