Skip to content
  • Saleem Abdulrasool's avatar
    8e5ce331
    Handle function name conflicts in _LIBCPP_MSVCRT mode · 8e5ce331
    Saleem Abdulrasool authored
    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
    8e5ce331
    Handle function name conflicts in _LIBCPP_MSVCRT mode
    Saleem Abdulrasool authored
    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
Loading