2015-02-14 06:15:32 +08:00
|
|
|
// -*- 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
|
2016-07-12 22:39:13 +08:00
|
|
|
#if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
|
2015-02-14 06:15:32 +08:00
|
|
|
#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
|
2016-07-12 22:39:13 +08:00
|
|
|
#endif
|
2015-02-14 06:15:32 +08:00
|
|
|
#undef __deallocate
|
|
|
|
#endif
|