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:
Siddhesh Poyarekar 2014-07-10 14:21:27 +05:30
parent d22f1fe2f3
commit 180e0e4b29
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -28,6 +28,7 @@
#include <stdbool.h>
#ifdef _LIBC
# define HAVE_LOCALTIME_R 0
# include "../locale/localeinfo.h"
#endif