summaryrefslogtreecommitdiffstats
path: root/libcxx/include/float.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/float.h')
-rw-r--r--libcxx/include/float.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/float.h b/libcxx/include/float.h
index f890c680851..1acfdc6188f 100644
--- a/libcxx/include/float.h
+++ b/libcxx/include/float.h
@@ -68,6 +68,8 @@ Macros:
#include_next <float.h>
+#ifdef __cplusplus
+
#ifndef FLT_EVAL_METHOD
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
#endif
@@ -76,4 +78,6 @@ Macros:
#define DECIMAL_DIG __DECIMAL_DIG__
#endif
+#endif // __cplusplus
+
#endif // _LIBCPP_FLOAT_H
OpenPOWER on IntegriCloud