mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00: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>
|
||||
|
||||
* time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
|
||||
|
||||
* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
|
||||
|
||||
* io/ftw.c: Include sys/param.h unconditionally.
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef _LIBC
|
||||
# define HAVE_LOCALTIME_R 0
|
||||
# include "../locale/localeinfo.h"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user