aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/include')
-rw-r--r--runtime/include/math.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/include/math.h b/runtime/include/math.h
index a61d8c17..805cc8e7 100644
--- a/runtime/include/math.h
+++ b/runtime/include/math.h
@@ -1,3 +1,7 @@
-#define isfinite(__y) (fpclassify(__y) >= FP_ZERO)
+#ifndef _COMPCERT_MATH_H
+#define _COMPCERT_MATH_H
+
+#define isfinite(__y) (fpclassify((__y)) >= FP_ZERO)
#include_next <math.h>
+#endif