From 7e0aee72290a7a76835eeafe76b253d8bb1f1b17 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 5 May 2005 20:29:22 +0000 Subject: [PATCH] define wxUSE_CRASHREPORT as 0 for non-MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index eb95a01b3d..939fad0c66 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -70,7 +70,9 @@ */ #ifndef wxUSE_CRASHREPORT -# ifdef wxABORT_ON_CONFIG_ERROR + /* this one is special: as currently it is Windows-only, don't force it + to be defined on other platforms */ +# if defined(wxABORT_ON_CONFIG_ERROR) && defined(__WXMSW__) # error "wxUSE_CRASHREPORT must be defined." # else # define wxUSE_CRASHREPORT 0 -- 2.45.2