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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h

Issue 2262403002: [DevTools] Fix V8 inspector compilation on SmartOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | 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) 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 PlatformSTL_h
6 #define PlatformSTL_h 6 #define PlatformSTL_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #define PLATFORM_EXPORT 10 #define PLATFORM_EXPORT
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 va_list argp; 301 va_list argp;
302 va_start(argp, format); 302 va_start(argp, format);
303 int ret = _vscprintf(format, argp); 303 int ret = _vscprintf(format, argp);
304 vsnprintf_s(buffer, n, _TRUNCATE, format, argp); 304 vsnprintf_s(buffer, n, _TRUNCATE, format, argp);
305 va_end(argp); 305 va_end(argp);
306 return ret; 306 return ret;
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
312 namespace std {
313 using ::snprintf;
314 } // namespace std
315 #endif // __sun
316
311 #endif // PlatformSTL_h 317 #endif // PlatformSTL_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698