_get_timezone not available on Pocket PC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,7 +172,7 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter<wxDateTime> , wxFromStringCon
|
|||||||
#define WX_GMTOFF_IN_TM
|
#define WX_GMTOFF_IN_TM
|
||||||
#elif defined(__WXWINCE__) && defined(__VISUALC8__)
|
#elif defined(__WXWINCE__) && defined(__VISUALC8__)
|
||||||
// _timezone is not present in dynamic run-time library
|
// _timezone is not present in dynamic run-time library
|
||||||
#if 1
|
#if 0
|
||||||
// Solution (1): use the function equivalent of _timezone
|
// Solution (1): use the function equivalent of _timezone
|
||||||
static long wxGetTimeZone()
|
static long wxGetTimeZone()
|
||||||
{
|
{
|
||||||
@@ -186,7 +186,7 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter<wxDateTime> , wxFromStringCon
|
|||||||
return s_Timezone;
|
return s_Timezone;
|
||||||
}
|
}
|
||||||
#define WX_TIMEZONE wxGetTimeZone()
|
#define WX_TIMEZONE wxGetTimeZone()
|
||||||
#elif 0
|
#elif 1
|
||||||
// Solution (2): using GetTimeZoneInformation
|
// Solution (2): using GetTimeZoneInformation
|
||||||
static long wxGetTimeZone()
|
static long wxGetTimeZone()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user