diff options
author | James McDonnell <jmcdonnell@qnx.com> | 2016-06-07 15:01:41 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@qnx.com> | 2016-06-14 19:10:59 +0000 |
commit | d84da60d5f7f884ab0ad7737658f4a5936780799 (patch) | |
tree | 63741f72aab0c143de30a571aa29b08f549ff625 /src/3rdparty | |
parent | 6d3c33c07998236363f3503d376d6be1e0b074f4 (diff) | |
download | qtscript-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>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp | 2 |
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); |