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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h b/third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h
index dd1fb45a28f0704f33170f86274b262e1c25b79c..bfba971e698add55521fb724439bdbe235aa9473 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/PlatformSTL.h
@@ -308,4 +308,10 @@ inline static int snprintf(char *buffer, size_t n, const char *format, ...)
} // namespace std
#endif // (_WIN32) && defined( _MSC_VER ) && (_MSC_VER < 1900)
+#ifdef __sun
+namespace std {
+using ::snprintf;
+} // namespace std
+#endif // __sun
+
#endif // PlatformSTL_h
« 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