[libc] [llvm] [libc] Add proxy header for float.h. (PR #93504)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 10:37:17 PDT 2024
================
@@ -9,11 +9,17 @@
#ifndef LLVM_LIBC_HDR_FLOAT_MACROS_H
#define LLVM_LIBC_HDR_FLOAT_MACROS_H
-#ifndef LIBC_FULL_BUILD
-// Overlay mode
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-macros/float-macros.h"
+
+#else // Overlay mode
+
#include <float.h>
-#endif // !LLVM_LIBC_FULL_BUILD
+// Filling missing macros if any.
#include "include/llvm-libc-macros/float-macros.h"
----------------
lntue wrote:
Sure, let just remove it. We can add it back if any bot complains.
https://github.com/llvm/llvm-project/pull/93504
More information about the llvm-commits
mailing list