aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-10-17 22:57:59 -0500
committerBrent Cook <bcook@openbsd.org>2015-10-17 22:57:59 -0500
commita45e38e962a30307dd2034c2c032bd76333ebd2c (patch)
treed290d9f6ef87032b1cae22716acde57bf028814a /include
parente8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8 (diff)
downloadportable-a45e38e962a30307dd2034c2c032bd76333ebd2c.tar.gz
portable-a45e38e962a30307dd2034c2c032bd76333ebd2c.tar.bz2
portable-a45e38e962a30307dd2034c2c032bd76333ebd2c.zip
disable some tests with 32-bit time_t systems
Also disable use of _mkgmtime, it does not produce correct results.
Diffstat (limited to 'include')
-rw-r--r--include/compat/time.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/compat/time.h b/include/compat/time.h
index 3a87548..9ed9c03 100644
--- a/include/compat/time.h
+++ b/include/compat/time.h
@@ -15,9 +15,5 @@
15#endif 15#endif
16 16
17#ifndef HAVE_TIMEGM 17#ifndef HAVE_TIMEGM
18#ifdef HAVE__MKGMTIME
19#define timegm(tm) _mkgmtime(tm)
20#else
21time_t timegm(struct tm *tm); 18time_t timegm(struct tm *tm);
22#endif 19#endif
23#endif