aboutsummaryrefslogtreecommitdiff
path: root/time/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/strftime.c')
-rw-r--r--time/strftime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/time/strftime.c b/time/strftime.c
index ed029605d9..f724bf3e3b 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -21,8 +21,8 @@
#endif
/* Some hosts need this in order to declare localtime_r properly. */
-#ifndef _REENTRANT
-# define _REENTRANT 1
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
#endif
#ifdef _LIBC
@@ -547,7 +547,7 @@ my_strftime (s, maxsize, format, tp)
len += strlen (f + len);
break;
}
-
+
if (bytes == (size_t) -1)
{
len++;