From: Ulrich Drepper Date: Tue, 18 Nov 1997 23:05:21 +0000 (+0000) Subject: automatically generated from GPLed version X-Git-Tag: emacs-20.3~2797 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6beba8e0b2f1a3100f5c2bdfc4912401f542fc02;p=emacs.git automatically generated from GPLed version --- diff --git a/src/mktime.c b/src/mktime.c index f759c29bb96..a6e2756aebe 100644 --- a/src/mktime.c +++ b/src/mktime.c @@ -27,6 +27,11 @@ # include #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 diff --git a/src/strftime.c b/src/strftime.c index b084851a451..90b21471904 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -22,6 +22,11 @@ # include #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