summaryrefslogtreecommitdiffstats
path: root/libcxx/include/locale
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r--libcxx/include/locale16
1 files changed, 10 insertions, 6 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale
index d29a2dc70a5..bdedbeae246 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -208,18 +208,20 @@ template <class charT> class messages_byname;
#include <Availability.h>
#endif
-#include <__undef_min_max>
-
-#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-#pragma GCC system_header
-#endif
-
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
#include <__bsd_locale_defaults.h>
#else
#include <__bsd_locale_fallbacks.h>
#endif
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+#pragma GCC system_header
+#endif
+
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
+
+
_LIBCPP_BEGIN_NAMESPACE_STD
#if defined(__APPLE__) || defined(__FreeBSD__)
@@ -4274,4 +4276,6 @@ wbuffer_convert<_Codecvt, _Elem, _Tr>::__close()
_LIBCPP_END_NAMESPACE_STD
+_LIBCPP_POP_MACROS
+
#endif // _LIBCPP_LOCALE
OpenPOWER on IntegriCloud