mesa: move signbit() macro to c99_math.h

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul
2015-02-24 15:11:45 -07:00
parent 612143b2d0
commit f847ddb64d
2 changed files with 8 additions and 8 deletions

View File

@@ -202,4 +202,12 @@ llrintf(float f)
#endif /* C99 */
/*
* signbit() is a macro on Linux. Not available on Windows.
*/
#ifndef signbit
#define signbit(x) ((x) < 0.0f)
#endif
#endif /* #define _C99_MATH_H_ */