VC8 compilation fix after last change (#9665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,11 +171,11 @@ wxCUSTOM_TYPE_INFO(wxDateTime, wxToStringConverter<wxDateTime> , wxFromStringCon
|
|||||||
#define WX_GMTOFF_IN_TM
|
#define WX_GMTOFF_IN_TM
|
||||||
#elif defined(__VISUALC8__)
|
#elif defined(__VISUALC8__)
|
||||||
// _timezone is not present in VC8 static run-time library but
|
// _timezone is not present in VC8 static run-time library but
|
||||||
// _get_timezone() is
|
// _get_timezone() is so just use it for all builds
|
||||||
static long wxGetTimeZone()
|
static long wxGetTimeZone()
|
||||||
{
|
{
|
||||||
static int s_timezone = INT_MAX; // invalid timezone
|
static long s_timezone = LONG_MAX; // invalid timezone
|
||||||
if ( s_timezone == INT_MAX )
|
if ( s_timezone == LONG_MAX )
|
||||||
_get_timezone(&s_timezone);
|
_get_timezone(&s_timezone);
|
||||||
|
|
||||||
return s_timezone;
|
return s_timezone;
|
||||||
|
Reference in New Issue
Block a user