PPC 2003 SDK doesn't seem to have setlocale() neither so just don't use it under Win CE at all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-08 00:07:55 +00:00
parent 4f0436e465
commit 05eb2d40c3

View File

@ -2843,9 +2843,9 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
// the locale is set; otherwise or in case of failure, leaves fmt unchanged
static void GetLocaleDateFormat(wxString *fmt)
{
// there is no setlocale() under Windows CE with Standard SDK, so just
// always query the system there
#ifndef WCE_PLATFORM_STANDARDSDK
// there is no setlocale() under Windows CE, so just always query the
// system there
#ifndef __WXWINCE__
if ( strcmp(setlocale(LC_ALL, NULL), "C") != 0 )
#endif
{