From d84da60d5f7f884ab0ad7737658f4a5936780799 Mon Sep 17 00:00:00 2001 From: James McDonnell Date: Tue, 7 Jun 2016 15:01:41 -0400 Subject: Switch to debug_thread_t type Switch from "struct _debug_thread_info" to debug_thread_t. For QNX 7.0, debug_thread_t becomes the architecture independent type. The original type becomes the 32-bit specific version. The type can be changed now because the two types are interchangeable on QNX 6.6.0. Change-Id: I515b2aca73370200cd0401af0f26fc1653a07421 Reviewed-by: Dan Cape Reviewed-by: Rafael Roquetto --- src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp index d5adbd7..1b2fd1d 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp @@ -559,7 +559,7 @@ static inline void *currentThreadStackBaseQNX() static pthread_t stackThread; pthread_t thread = pthread_self(); if (stackBase == 0 || thread != stackThread) { - struct _debug_thread_info threadInfo; + debug_thread_t threadInfo; memset(&threadInfo, 0, sizeof(threadInfo)); threadInfo.tid = pthread_self(); int fd = open("/proc/self", O_RDONLY); -- cgit v1.2.1