[libcxx-commits] [libcxx] [libcxx] Remove the second inclusion of the system header (PR #120946)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 6 13:06:16 PST 2025


================
@@ -106,10 +106,6 @@ void perror(const char* s);
 #  ifndef _LIBCPP_STDIO_H
 #    define _LIBCPP_STDIO_H
 
-#    if __has_include_next(<stdio.h>)
-#      include_next <stdio.h>
----------------
philnik777 wrote:

Isn't what you describe exactly the user asked for though? If we wanted to not support this we could just `#undef` all the `__need_` macros and be done with it.

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


More information about the libcxx-commits mailing list