summaryrefslogtreecommitdiff
path: root/include/__std_stream
diff options
context:
space:
mode:
Diffstat (limited to 'include/__std_stream')
-rw-r--r--include/__std_stream8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/__std_stream b/include/__std_stream
index fb5a346f10d86..db90795f66fcb 100644
--- a/include/__std_stream
+++ b/include/__std_stream
@@ -17,12 +17,14 @@
#include <__locale>
#include <cstdio>
-#include <__undef_min_max>
-
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
+
_LIBCPP_BEGIN_NAMESPACE_STD
static const int __limit = 8;
@@ -355,4 +357,6 @@ __stdoutbuf<_CharT>::imbue(const locale& __loc)
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP___STD_STREAM