diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-11-19 11:29:34 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-19 13:00:45 +0100 |
commit | d6f9e961ca31d498567301d5359d1de7f6638fb7 (patch) | |
tree | c0ba1b99f7dbe9c0fcf395e5a4846d2338935195 | |
parent | 48c45418cce7a377eb9117b2f120d5d5aaf3530a (diff) |
Fix compilation on QNX
pthread_getattr_np is not available there, so we use the default implementation (1MB stack limit) for now.
Change-Id: Ia1f3cbbcd846998b688541c0b576ef42f22ac8b6
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
-rw-r--r-- | src/qml/jsruntime/qv4engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp index 7189e60cae..84be89d31a 100644 --- a/src/qml/jsruntime/qv4engine.cpp +++ b/src/qml/jsruntime/qv4engine.cpp @@ -90,7 +90,7 @@ static ReturnedValue throwTypeError(CallContext *ctx) quintptr getStackLimit() { quintptr stackLimit; -#if USE(PTHREADS) +#if USE(PTHREADS) && !OS(QNX) # if OS(DARWIN) pthread_t thread_self = pthread_self(); void *stackTop = pthread_get_stackaddr_np(thread_self); |