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

Unified Diff: base/threading/platform_thread_posix.cc

Issue 10417026: PPAPI/NaCl: Fix IPC proxy build; pthread_t changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | build/all.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/platform_thread_posix.cc
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
index 388f8baf62425ab50e6ecc7ab0583a78940daf89..dd903b97c7238acb5fa070a48b113decb6822a44 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -160,9 +160,9 @@ PlatformThreadId PlatformThread::CurrentId() {
return syscall(__NR_gettid);
#elif defined(OS_ANDROID)
return gettid();
-#elif defined(OS_NACL) || defined(OS_SOLARIS)
+#elif defined(OS_SOLARIS)
return pthread_self();
-#elif defined(OS_POSIX)
+#elif defined(OS_NACL) || (OS_POSIX)
return reinterpret_cast<int64>(pthread_self());
bbudge 2012/05/22 01:58:14 Maybe it would be better to cast to int32 since pt
#endif
}
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698