Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Side by Side Diff: third_party/libc++/include/__undef_min_max

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libc++/include/__tuple_03 ('k') | third_party/libc++/include/algorithm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
12 #if defined(_MSC_VER) && ! defined(__clang__)
13 _LIBCPP_WARNING("macro min is incompatible with C++. #undefing min")
14 #else
15 #warning: macro min is incompatible with C++. #undefing min
16 #endif
17 #undef min
18 #endif
19
20 #ifdef max
21 #if defined(_MSC_VER) && ! defined(__clang__)
22 _LIBCPP_WARNING("macro max is incompatible with C++. #undefing max")
23 #else
24 #warning: macro max is incompatible with C++. #undefing max
25 #endif
26 #undef max
27 #endif
OLDNEW
« no previous file with comments | « third_party/libc++/include/__tuple_03 ('k') | third_party/libc++/include/algorithm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698