aboutsummaryrefslogblamecommitdiff
path: root/contrib/libc++/include/__undef___deallocate
blob: 52f4d9987e211c13b100263876797aed0338b02b (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                
                   
                                                     




                                                                                         
      
                   
      
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifdef __deallocate
#if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
#if defined(_MSC_VER) && !defined(__clang__)
_LIBCPP_WARNING("macro __deallocate is incompatible with C++.  #undefining __deallocate")
#else
#warning: macro __deallocate is incompatible with C++.  #undefining __deallocate
#endif
#endif
#undef __deallocate
#endif