mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
[BZ #470] Import fix from gnulib.
* time/mktime.c [!_LIBC] (__mktime_internal): Define to mktime_internal, to avoid clashes with any __mktime_internal function defined in the standard library.
This commit is contained in:
parent
7203529423
commit
743c00e3ce
@ -1,5 +1,10 @@
|
||||
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
[BZ #470] Import fix from gnulib.
|
||||
* time/mktime.c [!_LIBC] (__mktime_internal): Define to
|
||||
mktime_internal, to avoid clashes with any __mktime_internal
|
||||
function defined in the standard library.
|
||||
|
||||
[BZ #469] Imported from gnulib.
|
||||
* time/mktime.c (__isleap): Remove; all uses replaced by:
|
||||
(leapyear): New function, which avoids overflow by not adding
|
||||
|
@ -108,6 +108,7 @@ const unsigned short int __mon_yday[2][13] =
|
||||
# include "time_r.h"
|
||||
# undef __localtime_r
|
||||
# define __localtime_r localtime_r
|
||||
# define __mktime_internal mktime_internal
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user