commit | 8e5ce331936f46e259acc03a81fd7d105429cc30 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <[email protected]> | Fri Feb 13 22:15:32 2015 |
committer | Saleem Abdulrasool <[email protected]> | Fri Feb 13 22:15:32 2015 |
tree | c9ca038b63e6cb3e4c0ba3c3d2f6adbbb8c365fe | |
parent | 4ef8ac946c577bafddcb211a3dbab6b3dcf66e08 [diff] |
Handle function name conflicts in _LIBCPP_MSVCRT mode Visual Studio's SAL extension uses a macro named __deallocate. This macro is used pervasively, and gets included through various different ways. This conflicts with the similarly named interfaces in libc++. Introduce a undef header similar to __undef_min_max to handle this. This fixes a number of errors due to the macro replacing the function name. llvm-svn: 229162