summaryrefslogtreecommitdiff
path: root/include/__undef_min_max
blob: b1e80d1b0499ffc055f8185ffe01d1e4ac9fa2d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- 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 min
#warning: macro min is incompatible with C++.  #undefing min
#undef min
#endif

#ifdef max
#warning: macro max is incompatible with C++.  #undefing max
#undef max
#endif