Index: src/base/platform/platform-posix.cc |
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc |
index 25c270ad28605b7d13e2bc041171c4fd070ba6df..11f63c5a9304128787e024e39c66a18fc28da2fd 100644 |
--- a/src/base/platform/platform-posix.cc |
+++ b/src/base/platform/platform-posix.cc |
@@ -362,6 +362,8 @@ int OS::GetCurrentThreadId() { |
return static_cast<int>(gettid()); |
#elif V8_OS_AIX |
return static_cast<int>(thread_self()); |
+#elif V8_OS_FUCHSIA |
+ return static_cast<int>(pthread_self()); |
#elif V8_OS_SOLARIS |
return static_cast<int>(pthread_self()); |
#else |