summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/include/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 80a8048ce..3725ac0b9 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -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