[libcxx-commits] [libcxx] 401e457 - [libc++] Wipe some more macros that do not belong in C++ forwarding headers

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 7 10:33:13 PDT 2023


Author: Brad Smith
Date: 2023-09-07T13:32:26-04:00
New Revision: 401e4571060c697a492ecca61f7db9ac5b8ae257

URL: https://github.com/llvm/llvm-project/commit/401e4571060c697a492ecca61f7db9ac5b8ae257
DIFF: https://github.com/llvm/llvm-project/commit/401e4571060c697a492ecca61f7db9ac5b8ae257.diff

LOG: [libc++] Wipe some more macros that do not belong in C++ forwarding headers

Submitting upstream from OpenBSD tree.

Differential Revision: https://reviews.llvm.org/D94569

Added: 
    

Modified: 
    libcxx/include/stdio.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/stdio.h b/libcxx/include/stdio.h
index cea43aa7680bc6..72ed5c9f94af8c 100644
--- a/libcxx/include/stdio.h
+++ b/libcxx/include/stdio.h
@@ -115,6 +115,8 @@ void perror(const char* s);
 #undef clearerr
 #undef feof
 #undef ferror
+#undef putchar
+#undef getchar
 
 #endif
 


        


More information about the libcxx-commits mailing list