using WX_TIMEZONE set by configure instead of timezone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-12-15 19:40:46 +00:00
parent bf84b0be84
commit 6de20863de

View File

@ -75,6 +75,10 @@
#include "wx/datetime.h"
#ifndef WX_TIMEZONE
#define WX_TIMEZONE timezone
#endif
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
@ -151,7 +155,7 @@ static int GetTimeZone()
s_timezoneSet = TRUE;
}
return (int)timezone;
return (int)WX_TIMEZONE;
}
// return the integral part of the JDN for the midnight of the given date (to