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

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 6 15:10:28 PDT 2024


================
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_SRC_FENV_FEGETENV_H
 #define LLVM_LIBC_SRC_FENV_FEGETENV_H
 
-#include <fenv.h>
+#include "hdr/fenv_macros.h"
----------------
lntue wrote:

These functions also use some type definitions from the system header `fenv.h`, not the macros, so you cannot replace the `#include <fenv.h>` here yet.  Same with the implementations.

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


More information about the llvm-commits mailing list