diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-04 08:21:57 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-04 09:39:45 -0400 |
commit | d584a308cab484ee23984026d264bd447d452018 (patch) | |
tree | 172a93d9d03fbcd103fe41bf0fd42b92d71a5bb7 /time64.c | |
parent | 10c25cd94120c0e509e5ce54480c24d08281e090 (diff) | |
download | perl-d584a308cab484ee23984026d264bd447d452018.tar.gz |
Some <termios.h> #define WRAP, undef it.
Diffstat (limited to 'time64.c')
-rw-r--r-- | time64.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ static const char dow_year_start[SOLAR_CYCLE_LENGTH] = { #define CHEAT_YEARS 108 #define IS_LEAP(n) ((!(((n) + 1900) % 400) || (!(((n) + 1900) % 4) && (((n) + 1900) % 100))) != 0) +#undef WRAP /* some <termios.h> define this */ #define WRAP(a,b,m) ((a) = ((a) < 0 ) ? ((b)--, (a) + (m)) : (a)) #ifdef USE_SYSTEM_LOCALTIME |