1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Define _GNU_SOURCE for strptime prototype from glibc. Use

HAVE_DECL_STRPTIME for when to give own strptime prototype.
This commit is contained in:
Kevin Ryde 2004-03-13 23:32:16 +00:00
parent 0777022d62
commit 3c61e80f1d

View file

@ -18,6 +18,8 @@
#define _GNU_SOURCE /* ask glibc for everything, in particular strptime */
#if HAVE_CONFIG_H
# include <config.h>
#endif
@ -65,7 +67,7 @@ extern char *tzname[]; /* RS6000 and others reject char **tzname. */
# define tzname _tzname
#endif
#ifdef MISSING_STRPTIME_DECL
#if ! HAVE_DECL_STRPTIME
extern char *strptime ();
#endif