]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
fixed library order (important for static linking under Unix
[wxWidgets.git] / include / wx / chkconf.h
index 61ada5424bcee5b69377be933808970997a20b80..1de81cba3d524208f532b0facf4c573fd90d1616 100644 (file)
 #   define wxUSE_EXCEPTIONS 0
 #endif /* wxNO_EXCEPTIONS */
 
+/* we also must disable exceptions if compiler doesn't support them */
+#if defined(_MSC_VER) && !defined(_CPPUNWIND)
+#   undef wxUSE_EXCEPTIONS
+#   define wxUSE_EXCEPTIONS 0
+#endif /* VC++ without exceptions support */
+
 
 /*
    tests for non GUI features