aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2020-01-09 16:22:15 +0100
committerCyril SIX <cyril.six@kalray.eu>2020-01-09 16:22:15 +0100
commit4074a67434fc1f1a9bed7a896242faae25cd7fc2 (patch)
tree30219bdc849d64534b8c78d4883b16c1f3821dfe /runtime/include
parent27767971a256b97ee75deab19a01d575ee01a6e0 (diff)
downloadcompcert-kvx-4074a67434fc1f1a9bed7a896242faae25cd7fc2.tar.gz
compcert-kvx-4074a67434fc1f1a9bed7a896242faae25cd7fc2.zip
Fixing issue with <math.h> and fabs
Diffstat (limited to 'runtime/include')
-rw-r--r--runtime/include/math.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/include/math.h b/runtime/include/math.h
index 060968c8..d6475df1 100644
--- a/runtime/include/math.h
+++ b/runtime/include/math.h
@@ -3,6 +3,8 @@
#define isfinite(__y) (fpclassify((__y)) >= FP_ZERO)
+#include_next <math.h>
+
#ifndef COMPCERT_NO_FP_MACROS
#define fmin(x, y) __builtin_fmin((x),(y))
#define fmax(x, y) __builtin_fmax((x),(y))
@@ -14,5 +16,4 @@
#define fmaf(x, y, z) __builtin_fmaf((x),(y),(z))
#endif
-#include_next <math.h>
#endif