diff options
author | Greg Ames <gregames@apache.org> | 2001-04-19 22:01:06 +0000 |
---|---|---|
committer | Greg Ames <gregames@apache.org> | 2001-04-19 22:01:06 +0000 |
commit | 1eeb85bba244a442cb06877801fd9e0d72abc71a (patch) | |
tree | 66541410e202332399296c9134f517de52eaa4d7 /time | |
parent | be0c0f79ce33c0c2bb161090a18deb6cce1c4b35 (diff) | |
download | apr-1eeb85bba244a442cb06877801fd9e0d72abc71a.tar.gz |
help OS/390 recover from its post-Hackathon hangover
(don't use try to use tm_gmtoff if it doesn't exist, and neither does
_POSIX_THREAD_SAFE_FUNCTIONS)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/unix/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/time/unix/time.c b/time/unix/time.c index 32930db8e..743a9f21d 100644 --- a/time/unix/time.c +++ b/time/unix/time.c @@ -168,7 +168,9 @@ apr_status_t apr_explode_localtime(apr_exploded_time_t *result, apr_time_t input #else /* !APR_HAS_THREADS */ struct tm *mangotm; mangotm=localtime(&mango); +#ifdef HAVE_GMTOFF offs = mangotm->tm_gmtoff; +#endif #endif return apr_explode_time(result, input, offs); #endif /* __EMX__ */ |