mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-08 20:42:25 +02:00
Add #define _REENTRANT, to get gmtime_r() prototype on
solaris 2.6. Reported by anirkko.
This commit is contained in:
parent
0ca1d168f0
commit
f88648366c
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -32,6 +32,7 @@
|
|||
hard coding __hpux. */
|
||||
|
||||
#define _GNU_SOURCE /* ask glibc for everything, in particular strptime */
|
||||
#define _REENTRANT /* ask solaris for gmtime_r prototype */
|
||||
#ifdef __hpux
|
||||
#define _POSIX_C_SOURCE 199506L /* for gmtime_r prototype */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue