diff options
author | Brent Cook <bcook@openbsd.org> | 2015-10-17 22:57:59 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-17 22:57:59 -0500 |
commit | a45e38e962a30307dd2034c2c032bd76333ebd2c (patch) | |
tree | d290d9f6ef87032b1cae22716acde57bf028814a /include | |
parent | e8c92100735f1e32d4b6f4a5a2670a0bf98ad1a8 (diff) | |
download | portable-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.h | 4 |
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 | ||
21 | time_t timegm(struct tm *tm); | 18 | time_t timegm(struct tm *tm); |
22 | #endif | 19 | #endif |
23 | #endif | ||