| Saleem Abdulrasool | f1b30c4 | 2015-02-13 22:15:32 | [diff] [blame] | 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(_MSC_VER) && !defined(__clang__) |
| 13 | _LIBCPP_WARNING("macro __deallocate is incompatible with C++. #undefining __deallocate") |
| 14 | #else |
| 15 | #warning: macro __deallocate is incompatible with C++. #undefining __deallocate |
| 16 | #endif |
| 17 | #undef __deallocate |
| 18 | #endif |