X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f167b46b42b81f8f646e594057535f05b05027f..26c66bc6ac1d8be06635ab3bb6831f3de2afbdd3:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 9d400205f2..4d004f8829 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -74,5 +74,15 @@ #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_ */