diff options
author | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-19 22:01:06 +0000 |
---|---|---|
committer | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-19 22:01:06 +0000 |
commit | 219966a37cdc2e4a41db250fecb468fa2b42969b (patch) | |
tree | 66541410e202332399296c9134f517de52eaa4d7 /time | |
parent | 0aa64fa33afe5c06023717ed8352079171a63466 (diff) | |
download | libapr-219966a37cdc2e4a41db250fecb468fa2b42969b.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: http://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__ */ |