mktime: merge DEBUG change from gnulib
This commit is contained in:
parent
bd83aabe5a
commit
826dd0abdf
@ -1,5 +1,9 @@
|
||||
2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
mktime: merge DEBUG change from gnulib
|
||||
* time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
|
||||
case system <time.h> has a #define.
|
||||
|
||||
mktime: merge <sys/types.h> change from gnulib
|
||||
* time/mktime.c: Do not include <sys/types.h>; no longer needed,
|
||||
since <time.t> is now guaranteed to define time_t.
|
||||
|
@ -42,6 +42,7 @@
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
/* Make it work even if the system's libc has its own mktime routine. */
|
||||
# undef mktime
|
||||
# define mktime my_mktime
|
||||
#endif /* DEBUG */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user