| Index: Source/wtf/ThreadingPthreads.cpp
|
| diff --git a/Source/wtf/ThreadingPthreads.cpp b/Source/wtf/ThreadingPthreads.cpp
|
| index 53811201e760dec8b9eb4d8b74b3e65afcd79e2d..2288bc1e288a893b2befa1f577be6d6156b434d3 100644
|
| --- a/Source/wtf/ThreadingPthreads.cpp
|
| +++ b/Source/wtf/ThreadingPthreads.cpp
|
| @@ -55,7 +55,7 @@
|
| #include <sys/time.h>
|
| #endif
|
|
|
| -#if OS(DARWIN) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
|
| +#if OS(DARWIN)
|
| #include <objc/objc-auto.h>
|
| #endif
|
|
|
| @@ -205,7 +205,7 @@ void initializeCurrentThreadInternal(const char* threadName)
|
| UNUSED_PARAM(threadName);
|
| #endif
|
|
|
| -#if OS(DARWIN) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
|
| +#if OS(DARWIN)
|
| // All threads that potentially use APIs above the BSD layer must be registered with the Objective-C
|
| // garbage collector in case API implementations use garbage-collected memory.
|
| objc_registerThreadWithCollector();
|
|
|