mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 00:30:33 +01:00
mesa: add a dummy definition for fpclassify() if needed
This commit is contained in:
parent
bef9460dcd
commit
791c3395ab
1 changed files with 10 additions and 0 deletions
|
|
@ -69,6 +69,16 @@ fpclassify(double x)
|
|||
return FP_NAN;
|
||||
}
|
||||
}
|
||||
|
||||
#elif !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 600
|
||||
|
||||
enum {FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL}
|
||||
fpclassify(double x)
|
||||
{
|
||||
/* XXX do something better someday */
|
||||
return FP_NORMAL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
extern GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue