]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxUSE_CRASHREPORT as 0 for non-MSW
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 May 2005 20:29:22 +0000 (20:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 May 2005 20:29:22 +0000 (20:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index eb95a01b3d32faabc3d6a7c12c798e2775e4b406..939fad0c664d0fc6311c288e3e52afb293bd6e4a 100644 (file)
@@ -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