summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-06-01 00:27:09 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-06-01 00:27:09 +0000
commit6d3122d3d4f1abaf09024a4556db2faf9b3da78d (patch)
tree9dbe3551a9815e99aaa1761af8e2883bd7452dd8 /time
parentd0f59287272fdde4826d0ed2429abfdd8d314b8c (diff)
downloadlibapr-6d3122d3d4f1abaf09024a4556db2faf9b3da78d.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: http://svn.apache.org/repos/asf/apr/apr/trunk@543340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-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;