diff src/floatfns.c @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 859a2309aef8
children cf808b4c4290
line wrap: on
line diff
--- a/src/floatfns.c	Mon Aug 13 09:13:58 2007 +0200
+++ b/src/floatfns.c	Mon Aug 13 09:15:11 2007 +0200
@@ -53,6 +53,10 @@
 
 /* Need to define a differentiating symbol -- see sysfloat.h */
 #define THIS_FILENAME floatfns
+/* glibc chokes unless _GNU_SOURCE is defined */
+#if defined (__GLIBC__) && (__GLIBC__ >= 2)
+#define _GNU_SOURCE 1
+#endif
 #include "sysfloat.h"
 
 #ifndef HAVE_RINT