]> git.saurik.com Git - wxWidgets.git/commitdiff
PPC 2003 SDK doesn't seem to have setlocale() neither so just don't use it under...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Mar 2005 00:07:55 +0000 (00:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Mar 2005 00:07:55 +0000 (00:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp

index 84cc559e76a11ddf4d19536ce206c31287dae942..ebdcb85d753466e90d81dc728cb724f9b895c402 100644 (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
     {