blob: 52f4d9987e211c13b100263876797aed0338b02b [file] [log] [blame]
Saleem Abdulrasoolf1b30c42015-02-13 22:15:321// -*- 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
Saleem Abdulrasoolab008f72016-07-12 14:39:1312#if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
Saleem Abdulrasoolf1b30c42015-02-13 22:15:3213#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
Saleem Abdulrasoolab008f72016-07-12 14:39:1318#endif
Saleem Abdulrasoolf1b30c42015-02-13 22:15:3219#undef __deallocate
20#endif