diff options
Diffstat (limited to 'contrib/libc++/include/__undef_min_max')
-rw-r--r-- | contrib/libc++/include/__undef_min_max | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libc++/include/__undef_min_max b/contrib/libc++/include/__undef_min_max new file mode 100644 index 0000000..88bc53f --- /dev/null +++ b/contrib/libc++/include/__undef_min_max @@ -0,0 +1,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++. #undef'ing min +#undef min +#endif + +#ifdef max +#warning: macro max is incompatible with C++. #undef'ing max +#undef max +#endif |