summaryrefslogtreecommitdiffstats
path: root/libcxx/include/float.h
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-11-06 06:30:12 +0000
committerEric Fiselier <eric@efcs.ca>2015-11-06 06:30:12 +0000
commit60506cbcd48a905950971f7211ceef1867aa25c8 (patch)
tree08e371a8c5c60b78eff4830366227c954f3c7cad /libcxx/include/float.h
parent6578f001bfb334feba06085d83bb41b18a05b35e (diff)
downloadbcm5719-llvm-60506cbcd48a905950971f7211ceef1867aa25c8.tar.gz
bcm5719-llvm-60506cbcd48a905950971f7211ceef1867aa25c8.zip
Cleanup foo.h headers and __config to work in C
llvm-svn: 252274
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