summaryrefslogtreecommitdiffstats
path: root/src/isinf.h
diff options
context:
space:
mode:
authorJoshua L. Blocher <verbalshadow@gmail.com>2008-07-03 16:14:52 +0000
committerverbalshadow <verbalshadow@users.sourceforge.net>2008-07-03 16:14:52 +0000
commitec4dca43010fdcbaa118e5998c3a7ef1d140d323 (patch)
treecf93bab8f16c22f4e5b8e29d12c90905a366737f /src/isinf.h
parentTests for svg-affine and svg-length (the latter is not much more than a stub)... (diff)
downloadinkscape-ec4dca43010fdcbaa118e5998c3a7ef1d140d323.tar.gz
inkscape-ec4dca43010fdcbaa118e5998c3a7ef1d140d323.zip
Patch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.net/inkscape/+bug/245173
(bzr r6133)
Diffstat (limited to 'src/isinf.h')
-rw-r--r--src/isinf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isinf.h b/src/isinf.h
index 92c885701..7799d2876 100644
--- a/src/isinf.h
+++ b/src/isinf.h
@@ -5,7 +5,7 @@
* Fix for missing std::isnormal with SOLARIS8/GCC3.2
*/
-#if defined (SOLARIS_2_8) && __GNUC__ == 3 && __GNUC_MINOR__ == 2
+#if defined (SOLARIS)
#include <ieeefp.h>
#define isinf(x) ((fpclass(x) == FP_NINF) || (fpclass(x) == FP_PINF))