Index: base/threading/platform_thread_posix.cc |
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc |
index 526e7822af5861a89c7325c94b49acd75f926903..497acb5efdf7787ea03cace75b0c398931029a0e 100644 |
--- a/base/threading/platform_thread_posix.cc |
+++ b/base/threading/platform_thread_posix.cc |
@@ -127,7 +127,7 @@ PlatformThreadId PlatformThread::CurrentId() { |
#elif defined(OS_FREEBSD) |
// TODO(BSD): find a better thread ID |
return reinterpret_cast<int64>(pthread_self()); |
-#elif defined(OS_NACL) |
+#elif defined(OS_NACL) || defined(OS_SOLARIS) |
return pthread_self(); |
#endif |
} |