[libc-commits] [libc] [llvm] [libc] Add proxy header for float.h. (PR #93504)

via libc-commits libc-commits at lists.llvm.org
Tue May 28 10:20:54 PDT 2024


================
@@ -0,0 +1,19 @@
+//===-- Definition of macros from math.h ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_HDR_FLOAT_MACROS_H
+#define LLVM_LIBC_HDR_FLOAT_MACROS_H
+
+#ifndef LIBC_FULL_BUILD
+// Overlay mode
+#include <float.h>
+#endif // !LLVM_LIBC_FULL_BUILD
----------------
lntue wrote:

Changed back to the common pattern of `hdr` dir.

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


More information about the libc-commits mailing list