]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/features.h
make independent from carbon
[wxWidgets.git] / include / wx / features.h
index 9d400205f22a5ca97484ab0336308e002bcf670c..4d004f882967e28a54cc7049de9eed49c7da353e 100644 (file)
     #define wxHAS_NATIVE_TAB_TRAVERSAL
 #endif
 
+/* This is defined when the compiler provides some type of extended locale
+   functions.  Otherwise, we implement them ourselves to only support the
+   'C' locale */
+#if defined(HAVE_LOCALE_T) || \
+    (wxCHECK_VISUALC_VERSION(8) && !defined(__WXWINCE__))
+    #define wxHAS_XLOCALE_SUPPORT
+#else
+    #undef wxHAS_XLOCALE_SUPPORT
+#endif
+
 #endif /*  _WX_FEATURES_H_ */