summaryrefslogtreecommitdiff
path: root/time/win32
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-06-01 00:27:09 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-06-01 00:27:09 +0000
commitde20d650aaf06b39f79dd78d7eb3f0287e23fefa (patch)
tree9dbe3551a9815e99aaa1761af8e2883bd7452dd8 /time/win32
parent92dbe29cbb5e95d5a6b4a455341d444193a9e9e6 (diff)
downloadapr-de20d650aaf06b39f79dd78d7eb3f0287e23fefa.tar.gz
SystemTimeToTzSpecificLocalTime is not implemented on Windows CE and is used in
the conversion of an APR time to an expanded local time. The APR code did have fallback code for Win9x which did not call this function. The fallback code had the deficiency of using the current offset for daylight savings time, not the offset at the specified time. PR: 39856 Submitted by: Curt Arnold <carnold apache.org> Reviewed by: Davi Arnaut git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time/win32')
-rw-r--r--time/win32/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/win32/time.c b/time/win32/time.c
index 6f9545c3f..9d2757972 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -139,7 +139,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
AprTimeToFileTime(&ft, input);
-#if APR_HAS_UNICODE_FS
+#if APR_HAS_UNICODE_FS && !defined(_WIN32_WCE)
IF_WIN_OS_IS_UNICODE
{
TIME_ZONE_INFORMATION *tz;
@@ -178,7 +178,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
- (-(tz->Bias + tz->StandardBias) / 60);
}
#endif
-#if APR_HAS_ANSI_FS
+#if APR_HAS_ANSI_FS || defined(_WIN32_WCE)
ELSE_WIN_OS_IS_ANSI
{
TIME_ZONE_INFORMATION tz;