diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-04-12 19:39:55 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-04-12 19:39:55 +0200 |
commit | 09db5e13fc268ba5d594d04f767d6e33605eb6a7 (patch) | |
tree | 43d6dc700bc78510526f336a0c24a2df1b7c888b /runtime | |
parent | 9a81ad0f93540acc6a27dd54d56bf42e1bbcca83 (diff) | |
download | compcert-kvx-09db5e13fc268ba5d594d04f767d6e33605eb6a7.tar.gz compcert-kvx-09db5e13fc268ba5d594d04f767d6e33605eb6a7.zip |
better #include handling
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/include/math.h | 6 |
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 |