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

Unified Diff: src/base/platform/platform-posix.cc

Issue 990063002: Fix build on solaris platforms (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use primary email in AUTHORS Created 5 years, 9 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform-posix.cc
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc
index 13461fafa071d87adf1aa43080d02bb4a4d8087d..e43493f0ae120143cc7e212201a648598eda122f 100644
--- a/src/base/platform/platform-posix.cc
+++ b/src/base/platform/platform-posix.cc
@@ -273,6 +273,8 @@ int OS::GetCurrentThreadId() {
return static_cast<int>(gettid());
#elif V8_OS_AIX
return static_cast<int>(thread_self());
+#elif V8_OS_SOLARIS
+ return static_cast<int>(pthread_self());
#else
return static_cast<int>(reinterpret_cast<intptr_t>(pthread_self()));
#endif
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698