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