| 1 | /* Wrapper around broken system time.h. */ |
| 2 | |
| 3 | #ifndef _PERL_WRAPPER_AROUND_TIME_H |
| 4 | # define _PERL_WRAPPER_AROUND_TIME_H 1 |
| 5 | |
| 6 | /* Recent versions of the MiNTLib have a macro HAS_TZNAME in |
| 7 | time.h resp. sys/time.h. Wow, I wonder why they didn't |
| 8 | define HAVE_CONFIG_H ... */ |
| 9 | #ifdef HAS_TZNAME |
| 10 | # define PERL_HAS_TZNAME HAS_TZNAME |
| 11 | #endif |
| 12 | |
| 13 | /* First include the system file. */ |
| 14 | #include_next <time.h> |
| 15 | |
| 16 | #ifdef HAS_TZNAME |
| 17 | # undef HAS_TZNAME |
| 18 | # define HAS_TZNAME PERL_HAS_TZNAME |
| 19 | #endif |
| 20 | |
| 21 | #endif |
| 22 | |