# HG changeset patch # User Jim Meyering # Date 761074384 0 # Node ID 70069d83275cbb23089f27269028f7db4fdd381e # Parent 37b7adc4e9510148f4479ef8a99f23caf50e9845 GNU shell utilities diff --git a/lib/mktime.c b/lib/mktime.c --- a/lib/mktime.c +++ b/lib/mktime.c @@ -44,6 +44,13 @@ ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) #endif +#ifndef __P +#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#define __P(args) args +#else +#define __P(args) () +#endif /* GCC. */ +#endif /* Not __P. */ /* How many days are in each month. */ const unsigned short int __mon_lengths[2][12] =