Code

Patch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.net/inksc...
[inkscape.git] / src / 2geom / isnan.h
index 6b94daa6e5c61826784c2799af54ee1226a37df5..d95a45f10d721d655d4a4e958a67ee321858b9fe 100644 (file)
@@ -34,7 +34,7 @@
 # define IS_NAN(_a) (_isnan(_a))       /* Win32 definition */
 #elif defined(isnan) || defined(__FreeBSD__) || defined(__osf__)
 # define IS_NAN(_a) (isnan(_a))                /* GNU definition */
-#elif defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2
+#elif defined (SOLARIS)
 # define IS_NAN(_a) (isnan(_a))                /* GNU definition */
 #else
 # define IS_NAN(_a) (std::isnan(_a))
@@ -55,7 +55,7 @@
 # define IS_FINITE(_a) (isfinite(_a))
 #elif defined(__osf__)
 # define IS_FINITE(_a) (finite(_a) && !IS_NAN(_a))
-#elif defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2
+#elif defined (SOLARIS)
 #include  <ieeefp.h>
 #define IS_FINITE(_a) (finite(_a) && !IS_NAN(_a))
 #else