2 //===------------------------ __undef_macros ------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
13 #if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
14 #if defined(_LIBCPP_WARNING)
15 _LIBCPP_WARNING("macro min is incompatible with C++. Try #define NOMINMAX "
16 "before any Windows header. #undefing min")
18 #warning: macro min is incompatible with C++. #undefing min
25 #if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
26 #if defined(_LIBCPP_WARNING)
27 _LIBCPP_WARNING("macro max is incompatible with C++. Try #define NOMINMAX "
28 "before any Windows header. #undefing max")
30 #warning: macro max is incompatible with C++. #undefing max