OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 #ifndef PlatformSTL_h | 5 #ifndef ProtocolPlatformSTL_h |
6 #define PlatformSTL_h | 6 #define ProtocolPlatformSTL_h |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #define PLATFORM_EXPORT | 10 #define PLATFORM_EXPORT |
11 #ifndef CHECK | 11 #ifndef CHECK |
12 #define CHECK(condition) ((void) 0) | 12 #define CHECK(condition) ((void) 0) |
13 #endif | 13 #endif |
14 #define DCHECK(condition) ((void) 0) | 14 #define DCHECK(condition) ((void) 0) |
15 #define NOTREACHED() | 15 #define NOTREACHED() |
16 #define DCHECK_EQ(i, j) DCHECK(i == j) | 16 #define DCHECK_EQ(i, j) DCHECK(i == j) |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 307 } |
308 } // namespace std | 308 } // namespace std |
309 #endif // (_WIN32) && defined( _MSC_VER ) && (_MSC_VER < 1900) | 309 #endif // (_WIN32) && defined( _MSC_VER ) && (_MSC_VER < 1900) |
310 | 310 |
311 #ifdef __sun | 311 #ifdef __sun |
312 namespace std { | 312 namespace std { |
313 using ::snprintf; | 313 using ::snprintf; |
314 } // namespace std | 314 } // namespace std |
315 #endif // __sun | 315 #endif // __sun |
316 | 316 |
317 #endif // PlatformSTL_h | 317 #endif // ProtocolPlatformSTL_h |
OLD | NEW |