Commit 94e1b3c6 authored by kevino@webkit.org's avatar kevino@webkit.org

!USE(MULTIPLE_THREADS) on Darwin build fix


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bdc1acdd
2008-06-20 Kevin Ollivier <kevino@theolliviers.com>
!USE(MULTIPLE_THREADS) on Darwin build fix
* kjs/InitializeThreading.cpp:
(KJS::initializeThreading):
* kjs/collector.h:
2008-06-20 Kevin McCullough <kmccullough@apple.com>
-Leopard Build Fix.
......
......@@ -59,7 +59,7 @@ static void initializeThreadingOnce()
void initializeThreading()
{
#if PLATFORM(DARWIN)
#if PLATFORM(DARWIN) && USE(MULTIPLE_THREADS)
pthread_once(&initializeThreadingKeyOnce, initializeThreadingOnce);
// FIXME: do we want heap introspector to work on other threads?
......
......@@ -89,7 +89,7 @@ namespace KJS {
static void registerAsMainThread();
static void registerThread(); // Should only be called by clients that can use the same heap from multiple threads.
#if PLATFORM(DARWIN)
#if PLATFORM(DARWIN) && USE(MULTIPLE_THREADS)
void initializeHeapIntrospector();
#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