summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McDonnell <jmcdonnell@qnx.com>2016-06-07 15:01:41 -0400
committerJames McDonnell <jmcdonnell@qnx.com>2016-06-14 19:10:59 +0000
commitd84da60d5f7f884ab0ad7737658f4a5936780799 (patch)
tree63741f72aab0c143de30a571aa29b08f549ff625
parent6d3c33c07998236363f3503d376d6be1e0b074f4 (diff)
downloadqtscript-d84da60d5f7f884ab0ad7737658f4a5936780799.tar.gz
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 <dcape@qnx.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp2
1 files changed, 1 insertions, 1 deletions
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);