Howard Hinnant | ab4f438 | 2011-11-29 16:45:27 +0000 | [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 min |
Howard Hinnant | 49713b4 | 2012-09-03 18:13:11 +0000 | [diff] [blame^] | 12 | #warning: macro min is incompatible with C++. #undefing min |
Howard Hinnant | ab4f438 | 2011-11-29 16:45:27 +0000 | [diff] [blame] | 13 | #undef min |
| 14 | #endif |
| 15 | |
| 16 | #ifdef max |
Howard Hinnant | 49713b4 | 2012-09-03 18:13:11 +0000 | [diff] [blame^] | 17 | #warning: macro max is incompatible with C++. #undefing max |
Howard Hinnant | ab4f438 | 2011-11-29 16:45:27 +0000 | [diff] [blame] | 18 | #undef max |
| 19 | #endif |