Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-11-29 20:45:27 +0400
committerHoward Hinnant <hhinnant@apple.com>2011-11-29 20:45:27 +0400
commitab4f438239424dd39b83338ab0b4faa41245e506 (patch)
treea8b954bc4709873c1a36b50184a051f5e6330e9e /libcxx/include/locale
parent7a81dea5168d9ff98c1c99e6a4c971823400a291 (diff)
Add protection from min/max macros
llvm-svn: 145407
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r--libcxx/include/locale2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale
index b2afbd40e07b..5dc3ff240962 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -192,6 +192,8 @@ template <class charT> class messages_byname;
#include <nl_types.h>
#endif // !_WIN32
+#include <__undef_min_max>
+
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif