diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 20:45:27 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 20:45:27 +0400 |
commit | ab4f438239424dd39b83338ab0b4faa41245e506 (patch) | |
tree | a8b954bc4709873c1a36b50184a051f5e6330e9e /libcxx/include/algorithm | |
parent | 7a81dea5168d9ff98c1c99e6a4c971823400a291 (diff) |
Add protection from min/max macros
llvm-svn: 145407
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r-- | libcxx/include/algorithm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index 6749bf61178d..6255c52f30d1 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -595,6 +595,8 @@ template <class BidirectionalIterator, class Compare> #include <iterator> #include <cstdlib> +#include <__undef_min_max> + #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif |