commit | ab4f438239424dd39b83338ab0b4faa41245e506 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <[email protected]> | Tue Nov 29 16:45:27 2011 |
committer | Howard Hinnant <[email protected]> | Tue Nov 29 16:45:27 2011 |
tree | a8b954bc4709873c1a36b50184a051f5e6330e9e | |
parent | 7a81dea5168d9ff98c1c99e6a4c971823400a291 [diff] [blame] |
Add protection from min/max macros llvm-svn: 145407
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index 6749bf61..6255c52 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm
@@ -595,6 +595,8 @@ #include <iterator> #include <cstdlib> +#include <__undef_min_max> + #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif