summaryrefslogtreecommitdiffstats
path: root/libcxx/include/fstream
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/fstream')
-rw-r--r--libcxx/include/fstream8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcxx/include/fstream b/libcxx/include/fstream
index 5ec42bd1340..e41a53af4a0 100644
--- a/libcxx/include/fstream
+++ b/libcxx/include/fstream
@@ -171,12 +171,14 @@ typedef basic_fstream<wchar_t> wfstream;
#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
template <class _CharT, class _Traits>
@@ -1476,4 +1478,6 @@ basic_fstream<_CharT, _Traits>::close()
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP_FSTREAM
OpenPOWER on IntegriCloud