mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Fix -Wundef warning for HAVE_LOCALTIME_R
Define it to 0. There is a gnulib copy for this, but it is out of sync with our copy.
This commit is contained in:
parent
d22f1fe2f3
commit
180e0e4b29
@ -1,5 +1,7 @@
|
|||||||
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
|
||||||
|
|
||||||
* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
|
* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
|
||||||
|
|
||||||
* io/ftw.c: Include sys/param.h unconditionally.
|
* io/ftw.c: Include sys/param.h unconditionally.
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
|
# define HAVE_LOCALTIME_R 0
|
||||||
# include "../locale/localeinfo.h"
|
# include "../locale/localeinfo.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user