math.h: Replace usage of INT_MAX with __INT_MAX__
Using INT_MAX requires to include limits.h on most targets. Math.h must not rely on that. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
e6413b0a64
commit
357da5bc32
@ -198,10 +198,10 @@ extern int isnan _PARAMS((double));
|
||||
#define FP_NORMAL 4
|
||||
|
||||
#ifndef FP_ILOGB0
|
||||
# define FP_ILOGB0 (-INT_MAX)
|
||||
# define FP_ILOGB0 (-__INT_MAX__)
|
||||
#endif
|
||||
#ifndef FP_ILOGBNAN
|
||||
# define FP_ILOGBNAN INT_MAX
|
||||
# define FP_ILOGBNAN __INT_MAX__
|
||||
#endif
|
||||
|
||||
#ifndef MATH_ERRNO
|
||||
|
Loading…
Reference in New Issue
Block a user