summaryrefslogtreecommitdiffstats
path: root/libcxx/include/CMakeLists.txt
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-02-11 23:47:19 +0000
committerEric Fiselier <eric@efcs.ca>2019-02-11 23:47:19 +0000
commitcf39dd44b8d03fec211dcc3d28e61f4ed6dc47f2 (patch)
treede7a9e0a40544a87242359fd1589949197b4ea19 /libcxx/include/CMakeLists.txt
parent5906a6591cdc3aefe6c9cd67831724cae7978471 (diff)
downloadbcm5719-llvm-cf39dd44b8d03fec211dcc3d28e61f4ed6dc47f2.tar.gz
bcm5719-llvm-cf39dd44b8d03fec211dcc3d28e61f4ed6dc47f2.zip
Add fenv.h header
Summary: Some implementations of fenv.h use macros to define the functions they provide. This can cause problems when `std::fegetround()` is spelled in source. This patch adds a `fenv.h` header to libc++ for the sole purpose of turning those macros into real functions. Reviewers: rsmith, mclow.lists, ldionne Reviewed By: rsmith Subscribers: mgorny, christof, libcxx-commits Differential Revision: https://reviews.llvm.org/D57729 llvm-svn: 353767
Diffstat (limited to 'libcxx/include/CMakeLists.txt')
-rw-r--r--libcxx/include/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 73f7cfc4d8e..3bd09b3299a 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -95,6 +95,7 @@ set(files
ext/__hash
ext/hash_map
ext/hash_set
+ fenv.h
filesystem
float.h
forward_list
OpenPOWER on IntegriCloud