changeset 20276:b53b022d2239

automatically generated from GPLed version
author Ulrich Drepper <drepper@redhat.com>
date Tue, 18 Nov 1997 23:05:21 +0000
parents 0e102e83c51d
children b7f5af6127d5
files src/mktime.c src/strftime.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mktime.c	Tue Nov 18 22:31:16 1997 +0000
+++ b/src/mktime.c	Tue Nov 18 23:05:21 1997 +0000
@@ -27,6 +27,11 @@
 # include <config.h>
 #endif
 
+/* Some hosts need this in order to declare localtime_r properly.  */
+#ifndef _REENTRANT
+# define _REENTRANT 1
+#endif
+
 #ifdef _LIBC
 # define HAVE_LIMITS_H 1
 # define HAVE_LOCALTIME_R 1
--- a/src/strftime.c	Tue Nov 18 22:31:16 1997 +0000
+++ b/src/strftime.c	Tue Nov 18 23:05:21 1997 +0000
@@ -22,6 +22,11 @@
 # include <config.h>
 #endif
 
+/* Some hosts need this in order to declare localtime_r properly.  */
+#ifndef _REENTRANT
+# define _REENTRANT 1
+#endif
+
 #ifdef _LIBC
 # define HAVE_LIMITS_H 1
 # define HAVE_MBLEN 1