Changeset 94927 in webkit


Ignore:
Timestamp:
Sep 11, 2011 11:34:02 AM (13 years ago)
Author:
Csaba Osztrogonác
Message:

[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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r94922 r94927  
     12011-09-11  Jarred Nicholls  <jarred@sencha.com>
     2
     3        [Qt] Win32 build broken due to MachineStackMarker.cpp/.o failing to link against pthreads library
     4        https://bugs.webkit.org/show_bug.cgi?id=67864
     5       
     6        Qt Win32 is not pthread compatible and cannot participate in multithreaded JSC or it fails to build.
     7
     8        Reviewed by Csaba Osztrogonác.
     9
     10        * wtf/Platform.h:
     11
    1122011-09-11  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r94914 r94927  
    510510#endif
    511511
    512 #if !defined(ENABLE_JSC_MULTIPLE_THREADS)
     512/* FIXME: JSC multithreading currently only supports pthread.
     513   Qt-Win cannot do multithreading because it is not pthread-based. */
     514#if !defined(ENABLE_JSC_MULTIPLE_THREADS) && (!PLATFORM(QT) || USE(PTHREAD_BASED_QT))
    513515#define ENABLE_JSC_MULTIPLE_THREADS 1
    514516#endif
    515517
    516 #if !defined(ENABLE_WTF_MULTIPLE_THREADS)
     518/* FIXME: JSC multithreading currently only supports pthread.
     519   Qt-Win cannot do multithreading because it is not pthread-based. */
     520#if !defined(ENABLE_WTF_MULTIPLE_THREADS) && (!PLATFORM(QT) || USE(PTHREAD_BASED_QT))
    517521#define ENABLE_WTF_MULTIPLE_THREADS 1
    518522#endif
Note: See TracChangeset for help on using the changeset viewer.