From 39e4f7f84ec269a2d86a060d417ceaeb21f53305 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 16 Oct 1998 12:32:51 +0000 Subject: Update. 1998-10-16 Ulrich Drepper * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get localtime_t declaration on some systems. --- time/mktime.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'time') diff --git a/time/mktime.c b/time/mktime.c index ab4c0ad..fda08a2 100644 --- a/time/mktime.c +++ b/time/mktime.c @@ -25,10 +25,14 @@ # include #endif -/* Some systems need this in order to declare localtime_r properly. */ +/* Some systems require that one of these symbols be defined in + order to declare localtime_r properly. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif +#ifndef _POSIX_THREAD_SAFE_FUNCTIONS +# define _POSIX_THREAD_SAFE_FUNCTIONS 1 +#endif #ifdef _LIBC # define HAVE_LIMITS_H 1 -- cgit v1.1