[libc-commits] [libc] [llvm] [libc] Add proxy header for fenv.h macro constants. #87863 (PR #87896)

via libc-commits libc-commits at lists.llvm.org
Sat Apr 6 21:40:10 PDT 2024


================
@@ -9,11 +9,11 @@
 #ifndef LLVM_LIBC_SRC___SUPPORT_FPUTIL_FENVIMPL_H
 #define LLVM_LIBC_SRC___SUPPORT_FPUTIL_FENVIMPL_H
 
+#include "hdr/fenv_macros.h"
 #include "hdr/math_macros.h"
 #include "src/__support/macros/attributes.h" // LIBC_INLINE
 #include "src/__support/macros/properties/architectures.h"
 #include "src/errno/libc_errno.h"
-#include <fenv.h>
----------------
lntue wrote:

We still need to keep this `#include <fenv.h>` for the `fenv_t` definition in `get_env` and `set_env` below.  This would be remove in the next step when we add proxy header for `fenv_t`.

https://github.com/llvm/llvm-project/pull/87896


More information about the libc-commits mailing list