From e88f2e9e595393fbe61ec6cdb3f5507ae82b06ec Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 21 Aug 2007 15:09:59 +0000 Subject: [PATCH] _get_timezone not available on Pocket PC 2003 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 601e4f4356..a4c21d0771 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -171,7 +171,7 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter , wxFromStringCon #define WX_GMTOFF_IN_TM #elif defined(__WXWINCE__) && defined(__VISUALC8__) // _timezone is not present in dynamic run-time library - #if 1 + #if 0 // Solution (1): use the function equivalent of _timezone static long wxGetTimeZone() { @@ -185,7 +185,7 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter , wxFromStringCon return s_Timezone; } #define WX_TIMEZONE wxGetTimeZone() - #elif 0 + #elif 1 // Solution (2): using GetTimeZoneInformation static long wxGetTimeZone() {