fpu.c: Add _GNU_SOURCE definition.

* runtime/fpu.c: Add _GNU_SOURCE definition.
	* config/fpu-glibc.h: Remove __USE_GNU definition.

From-SVN: r105822
This commit is contained in:
Francois-Xavier Coudert 2005-10-23 22:06:08 +02:00 committed by François-Xavier Coudert
parent fa8697330d
commit 17d6e514a1
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* runtime/fpu.c: Add _GNU_SOURCE definition.
* config/fpu-glibc.h: Remove __USE_GNU definition.
2005-10-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24384

View file

@ -33,7 +33,6 @@ Boston, MA 02110-1301, USA. */
feenableexcept function in fenv.h to set individual exceptions
(there's nothing to do that in C99). */
#define __USE_GNU
#ifdef HAVE_FENV_H
#include <fenv.h>
#endif

View file

@ -1,3 +1,8 @@
/* This is needed for fpu-glibc.h, before all other includes */
#ifdef HAVE_FENV_H
#define _GNU_SOURCE
#endif
#include "libgfortran.h"
/* We include the platform-dependent code. */