gregames 01/04/19 15:01:07
Modified: time/unix time.c
Log:
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)
Revision Changes Path
1.42 +2 -0 apr/time/unix/time.c
Index: time.c
===================================================================
RCS file: /home/cvs/apr/time/unix/time.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -b -u -r1.41 -r1.42
--- time.c 2001/04/17 02:20:19 1.41
+++ time.c 2001/04/19 22:01:06 1.42
@@ -168,7 +168,9 @@
#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__ */