1998-10-16  Ulrich Drepper  <drepper@cygnus.com>

	* time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
	localtime_t declaration on some systems.
This commit is contained in:
Ulrich Drepper 1998-10-16 12:32:51 +00:00
parent c66dbe00b9
commit 39e4f7f84e
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-10-16 Ulrich Drepper <drepper@cygnus.com>
* time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
localtime_t declaration on some systems.
1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com> 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
* iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to

View File

@ -25,10 +25,14 @@
# include <config.h> # include <config.h>
#endif #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__ #ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1 # define __EXTENSIONS__ 1
#endif #endif
#ifndef _POSIX_THREAD_SAFE_FUNCTIONS
# define _POSIX_THREAD_SAFE_FUNCTIONS 1
#endif
#ifdef _LIBC #ifdef _LIBC
# define HAVE_LIMITS_H 1 # define HAVE_LIMITS_H 1