]> 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 a1208027bd5ab7d4eb2981b26b90114c8b373c20..1de81cba3d524208f532b0facf4c573fd90d1616 100644 (file)
@@ -17,6 +17,8 @@
 
 #if defined(__WXPALMOS__)
 #  include "wx/palmos/chkconf.h"
+#elif defined(__WXWINCE__)
+#  include "wx/msw/wince/chkconf.h"
 #elif defined(__WXMSW__)
 #  include "wx/msw/chkconf.h"
 #elif defined(__WXMAC__)
 #   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