fpclassify is available on C99-compliant Solaris releases too

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Alan Coopersmith 2010-05-18 09:28:37 -07:00 committed by Brian Paul
parent c85aa99904
commit beb5e1c807

View file

@ -70,7 +70,8 @@ fpclassify(double x)
}
}
#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__)
#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
(defined(__sun) && defined(__C99FEATURES__))
/* fpclassify is available. */