1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifdef __deallocate
12#if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
13#if defined(_MSC_VER) && !defined(__clang__)
14_LIBCPP_WARNING("macro __deallocate is incompatible with C++. #undefining __deallocate")
15#else
16#warning: macro __deallocate is incompatible with C++. #undefining __deallocate
17#endif
18#endif
19#undef __deallocate
20#endif
21