Commit f61e4c55 authored by ossy@webkit.org's avatar ossy@webkit.org

[Qt] Win32 build broken due to MachineStackMarker.cpp/.o failing to link against pthreads library

https://bugs.webkit.org/show_bug.cgi?id=67864

Qt Win32 is not pthread compatible and cannot participate in multithreaded JSC or it fails to build.

Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-11
Reviewed by Csaba Osztrogonác.

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 013c87c9
2011-09-11 Jarred Nicholls <jarred@sencha.com>
[Qt] Win32 build broken due to MachineStackMarker.cpp/.o failing to link against pthreads library
https://bugs.webkit.org/show_bug.cgi?id=67864
Qt Win32 is not pthread compatible and cannot participate in multithreaded JSC or it fails to build.
Reviewed by Csaba Osztrogonác.
* wtf/Platform.h:
2011-09-11 Filip Pizlo <fpizlo@apple.com>
ARM and MIPS assemblers still refer to executable pools.
......
......@@ -509,11 +509,15 @@
#define WTF_USE_PTHREAD_BASED_QT 1
#endif
#if !defined(ENABLE_JSC_MULTIPLE_THREADS)
/* FIXME: JSC multithreading currently only supports pthread.
Qt-Win cannot do multithreading because it is not pthread-based. */
#if !defined(ENABLE_JSC_MULTIPLE_THREADS) && (!PLATFORM(QT) || USE(PTHREAD_BASED_QT))
#define ENABLE_JSC_MULTIPLE_THREADS 1
#endif
#if !defined(ENABLE_WTF_MULTIPLE_THREADS)
/* FIXME: JSC multithreading currently only supports pthread.
Qt-Win cannot do multithreading because it is not pthread-based. */
#if !defined(ENABLE_WTF_MULTIPLE_THREADS) && (!PLATFORM(QT) || USE(PTHREAD_BASED_QT))
#define ENABLE_WTF_MULTIPLE_THREADS 1
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment