diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2008-07-03 16:14:52 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2008-07-03 16:14:52 +0000 |
| commit | ec4dca43010fdcbaa118e5998c3a7ef1d140d323 (patch) | |
| tree | cf93bab8f16c22f4e5b8e29d12c90905a366737f /src/2geom | |
| parent | Tests for svg-affine and svg-length (the latter is not much more than a stub)... (diff) | |
| download | inkscape-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/2geom')
| -rw-r--r-- | src/2geom/isnan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h index 6b94daa6e..d95a45f10 100644 --- a/src/2geom/isnan.h +++ b/src/2geom/isnan.h @@ -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 |
