Index: base/threading/platform_thread_posix.cc |
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc |
index 392d4613369bcb04a965225b344a371407e43b45..421830eb5a9c6332de1329252dac44cc63870ae7 100644 |
--- a/base/threading/platform_thread_posix.cc |
+++ b/base/threading/platform_thread_posix.cc |
@@ -150,7 +150,7 @@ PlatformThreadId PlatformThread::CurrentId() { |
return syscall(__NR_gettid); |
#elif defined(OS_ANDROID) |
return gettid(); |
-#elif defined(OS_SOLARIS) |
+#elif defined(OS_SOLARIS) || defined(OS_QNX) |
return pthread_self(); |
#elif defined(OS_NACL) && defined(__GLIBC__) |
return pthread_self(); |