[libcxx-commits] [PATCH] D94569: [libcxx] Wipe some more macros that do not belong in C++ forwarding headers

Brad Smith via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 12 17:28:12 PST 2021


brad created this revision.
brad added a reviewer: ldionne.
brad added a project: libc++.
Herald added subscribers: libcxx-commits, krytarowski.
brad requested review of this revision.

Submitting upstream from OpenBSD tree:

Wipe some more macros that do not belong in C++ forwarding headers.


Repository:
  rCXX libc++

https://reviews.llvm.org/D94569

Files:
  libcxx/include/stdio.h


Index: libcxx/include/stdio.h
===================================================================
--- libcxx/include/stdio.h
+++ libcxx/include/stdio.h
@@ -113,6 +113,8 @@
 #undef clearerr
 #undef feof
 #undef ferror
+#undef putchar
+#undef getchar
 
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94569.316282.patch
Type: text/x-patch
Size: 261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210113/539f6682/attachment-0001.bin>


More information about the libcxx-commits mailing list