aboutsummaryrefslogtreecommitdiff
path: root/include/streambuf
diff options
context:
space:
mode:
Diffstat (limited to 'include/streambuf')
-rw-r--r--include/streambuf5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/streambuf b/include/streambuf
index 12eded5c4d31..a10ce1bf5636 100644
--- a/include/streambuf
+++ b/include/streambuf
@@ -116,6 +116,9 @@ protected:
#pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _CharT, class _Traits>
@@ -486,4 +489,6 @@ _LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_ios<wchar_t
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP_STEAMBUF