OLD | NEW |
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 Loading... |
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 | |
OLD | NEW |