From ec124ca02cb35f4cef0226b77148f078021bcef5 Mon Sep 17 00:00:00 2001 From: jiho-sf Date: Wed, 2 Jan 2008 21:37:27 +0000 Subject: [PATCH] patch by John Faith https://bugs.launchpad.net/inkscape/+bug/175697 should be applied upstream in 2geom. --- src/2geom/isnan.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h index a2906be15..52085a25f 100644 --- a/src/2geom/isnan.h +++ b/src/2geom/isnan.h @@ -27,6 +27,8 @@ */ #if defined(__isnan) +# define is_nan(_a) (__isnan(_a)) +#elif defined(__APPLE__) && __GNUC__ == 3 # define is_nan(_a) (__isnan(_a)) /* MacOSX/Darwin definition < 10.4 */ #elif defined(WIN32) || defined(_isnan) # define is_nan(_a) (_isnan(_a)) /* Win32 definition */ -- 2.30.2