diff options
Diffstat (limited to 'src/timezone/tzfile.h')
-rw-r--r-- | src/timezone/tzfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timezone/tzfile.h b/src/timezone/tzfile.h index d31b13c261..ca82b02b72 100644 --- a/src/timezone/tzfile.h +++ b/src/timezone/tzfile.h @@ -133,16 +133,16 @@ struct tzhead /* * Since everything in isleap is modulo 400 (or a factor of 400), we know that - * isleap(y) == isleap(y % 400) + * isleap(y) == isleap(y % 400) * and so - * isleap(a + b) == isleap((a + b) % 400) + * isleap(a + b) == isleap((a + b) % 400) * or - * isleap(a + b) == isleap(a % 400 + b % 400) + * isleap(a + b) == isleap(a % 400 + b % 400) * This is true even if % means modulo rather than Fortran remainder * (which is allowed by C89 but not C99). * We use this to avoid addition overflow problems. */ -#define isleap_sum(a, b) isleap((a) % 400 + (b) % 400) +#define isleap_sum(a, b) isleap((a) % 400 + (b) % 400) #endif /* !defined TZFILE_H */ |