Ignore:
Timestamp:
Dec 9, 2014, 10:21:16 AM (11 years ago)
Author:
[email protected]
Message:

Undefined Symbol build error "_objc_registerThreadWithCollector" when building WebKit GTK Mac OS X on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=58737

Reviewed by Darin Adler.

Replace OS(MAC_OS_X) with PLATFORM(MAC) to prevent using
osx-specific code in WebKitGTK+ builds.

  • wtf/ThreadingPthreads.cpp:

(WTF::initializeCurrentThreadInternal):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/wtf/ThreadingPthreads.cpp

    r170065 r177023  
    5656#endif
    5757
    58 #if OS(MAC_OS_X)
     58#if PLATFORM(MAC)
    5959#include <objc/objc-auto.h>
    6060#endif
     
    203203#endif
    204204
    205 #if OS(MAC_OS_X)
     205#if PLATFORM(MAC)
    206206    // All threads that potentially use APIs above the BSD layer must be registered with the Objective-C
    207207    // garbage collector in case API implementations use garbage-collected memory.
Note: See TracChangeset for help on using the changeset viewer.