[libc-commits] [libc] [libc] Create a separate proxy header for math-function-macros.h (PR #98430)

via libc-commits libc-commits at lists.llvm.org
Thu Jul 11 22:34:18 PDT 2024


================
@@ -21,7 +21,6 @@
 #if defined(__GNUC__) && !defined(__clang__)
 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
 #endif
-#include <math.h>
----------------
lntue wrote:

The main purpose of proxy headers in `libc/hdr` is to provide a clear separation between our own public headers and the system headers, make sure that they won't be mixed and mismatched in different build modes.

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


More information about the libc-commits mailing list