From: jiho-sf Date: Wed, 2 Jan 2008 21:37:27 +0000 (+0000) Subject: patch by John Faith https://bugs.launchpad.net/inkscape/+bug/175697 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec124ca02cb35f4cef0226b77148f078021bcef5;p=inkscape.git patch by John Faith https://bugs.launchpad.net/inkscape/+bug/175697 should be applied upstream in 2geom. --- 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 */