]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on...
[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