use proper feature test macros for isnan
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Jul 2010 00:00:49 +0000 (20:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Jul 2010 00:02:48 +0000 (20:02 -0400)
Problem pointed out in bug 581354

glib/tests/strfuncs.c

index 2ddf926..648f370 100644 (file)
@@ -19,6 +19,7 @@
  * if advised of the possibility of such damage.
  */
 
+#define _XOPEN_SOURCE
 #include <ctype.h>
 #include <errno.h>
 #include <locale.h>