aboutsummaryrefslogtreecommitdiff
path: root/include/istream
diff options
context:
space:
mode:
Diffstat (limited to 'include/istream')
-rw-r--r--include/istream8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/istream b/include/istream
index 530f204cfad9..0b8e05d95bd8 100644
--- a/include/istream
+++ b/include/istream
@@ -162,12 +162,14 @@ template <class charT, class traits, class T>
#include <__config>
#include <ostream>
-#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
template <class _CharT, class _Traits>
@@ -1683,4 +1685,6 @@ _LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<ch
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP_ISTREAM