mesa: fpclassify dummy definition not needed on Mac OS X.

This commit is contained in:
Vinson Lee 2010-05-05 00:49:25 -07:00
parent bc751b5be0
commit 8191e5ae65
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ fpclassify(double x)
}
}
#elif defined(__APPLE__)
/* fpclassify is available. */
#elif !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 600
enum {FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL}