aboutsummaryrefslogtreecommitdiff
path: root/contrib/libc++/include/__undef___deallocate
blob: 2b4ad99dad3819891d65770bae526269e5f130af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- 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(_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
#undef __deallocate
#endif