* runtime/fpu.c: Add _GNU_SOURCE definition.
* config/fpu-glibc.h: Remove __USE_GNU definition.
From-SVN: r105822
+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
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
+/* 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. */