From 6de20863dea70c1be85868fa161c79d5437b14a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Dec 1999 19:40:46 +0000 Subject: [PATCH] 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 --- src/common/datetime.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index d93cb2d179..bf7092c026 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -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 -- 2.47.2