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

Side by Side Diff: build/precompile.h

Issue 14201003: intsafe workaround to separate header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « build/intsafe_workaround.h ('k') | win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Precompiled header for Chromium project on Windows, not used by 5 // Precompiled header for Chromium project on Windows, not used by
6 // other build configurations. Using precompiled headers speeds the 6 // other build configurations. Using precompiled headers speeds the
7 // build up significantly, around 1/4th on VS 2010 on an HP Z600 with 12 7 // build up significantly, around 1/4th on VS 2010 on an HP Z600 with 12
8 // GB of memory. 8 // GB of memory.
9 // 9 //
10 // Numeric comments beside includes are the number of times they were 10 // Numeric comments beside includes are the number of times they were
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #include <numeric> // 2 100 #include <numeric> // 2
101 #include <ostream> 101 #include <ostream>
102 #include <queue> 102 #include <queue>
103 #include <set> 103 #include <set>
104 #include <sstream> 104 #include <sstream>
105 #include <stack> 105 #include <stack>
106 #include <string> 106 #include <string>
107 #include <utility> 107 #include <utility>
108 #include <vector> 108 #include <vector>
109 109
110 // Workaround for: 110 #include "build/intsafe_workaround.h"
111 // http://connect.microsoft.com/VisualStudio/feedback/details/621653/
112 // http://crbug.com/225822
113 // Note that we can't actually include <stdint.h> here because there's other
114 // code in third_party that has partial versions of stdint types that conflict.
115 #include <intsafe.h>
116 #undef INT8_MIN
117 #undef INT16_MIN
118 #undef INT32_MIN
119 #undef INT64_MIN
120 #undef INT8_MAX
121 #undef UINT8_MAX
122 #undef INT16_MAX
123 #undef UINT16_MAX
124 #undef INT32_MAX
125 #undef UINT32_MAX
126 #undef INT64_MAX
127 #undef UINT64_MAX
OLDNEW
« no previous file with comments | « build/intsafe_workaround.h ('k') | win8/delegate_execute/delegate_execute.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698