X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c46d866548ef6145eff070829e4120864f7ce7d..7c8b87a78a029ce90314dffa5935c5211a3c3e7c:/include/wx/chkconf.h 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