From ab63f9985f6da3cd9921cd904e78f54b138f2b97 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 21 Feb 2008 16:11:37 +0000 Subject: [PATCH] VC8 doesn't have xlocale support under CE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/features.h | 3 ++- include/wx/xlocale.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/features.h b/include/wx/features.h index 52c84a27e0..4d004f8829 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -77,7 +77,8 @@ /* 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) +#if defined(HAVE_LOCALE_T) || \ + (wxCHECK_VISUALC_VERSION(8) && !defined(__WXWINCE__)) #define wxHAS_XLOCALE_SUPPORT #else #undef wxHAS_XLOCALE_SUPPORT diff --git a/include/wx/xlocale.h b/include/wx/xlocale.h index 198a9921cb..39b49e7556 100644 --- a/include/wx/xlocale.h +++ b/include/wx/xlocale.h @@ -37,7 +37,7 @@ // The platform-specific locale type // If wxXLocale_t is not defined, then only "C" locale support is provided #ifdef wxHAS_XLOCALE_SUPPORT - #if wxCHECK_VISUALC_VERSION(8) + #if wxCHECK_VISUALC_VERSION(8) && !defined(__WXWINCE__) typedef _locale_t wxXLocale_t; #define wxXLOCALE_IDENT(name) _ ## name #elif defined(HAVE_LOCALE_T) -- 2.45.2