summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:21:27 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:21:27 +0530
commit180e0e4b29e4950cd411144c7b9dab1f850853d9 (patch)
tree7bb883df3c9d227a1224fa95da72a2ab5452c502 /time
parentd22f1fe2f369a273533e50d757c4590adf147ef1 (diff)
downloadglibc-180e0e4b29e4950cd411144c7b9dab1f850853d9.tar.gz
glibc-180e0e4b29e4950cd411144c7b9dab1f850853d9.tar.xz
glibc-180e0e4b29e4950cd411144c7b9dab1f850853d9.zip
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.
Diffstat (limited to 'time')
-rw-r--r--time/strptime_l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/strptime_l.c b/time/strptime_l.c
index 8fe623d579..b3a612e03c 100644
--- a/time/strptime_l.c
+++ b/time/strptime_l.c
@@ -28,6 +28,7 @@
 #include <stdbool.h>
 
 #ifdef _LIBC
+# define HAVE_LOCALTIME_R 0
 # include "../locale/localeinfo.h"
 #endif