root / lab4 / .minix-src / include / c++ / __undef___deallocate
History | View | Annotate | Download (648 Bytes)
1 | 13 | up20180614 | // -*- 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 |