| Index: Source/wtf/ThreadingPthreads.cpp
|
| diff --git a/Source/wtf/ThreadingPthreads.cpp b/Source/wtf/ThreadingPthreads.cpp
|
| index f3f0a6489e83a20d64d98d0d077970133e182d3f..c3eb3bd3ac3b997000915e1a352e3d40c53c41f8 100644
|
| --- a/Source/wtf/ThreadingPthreads.cpp
|
| +++ b/Source/wtf/ThreadingPthreads.cpp
|
| @@ -55,7 +55,7 @@
|
| #include <sys/time.h>
|
| #endif
|
|
|
| -#if OS(DARWIN)
|
| +#if OS(MACOSX)
|
| #include <objc/objc-auto.h>
|
| #endif
|
|
|
| @@ -204,7 +204,7 @@ void initializeCurrentThreadInternal(const char* threadName)
|
| UNUSED_PARAM(threadName);
|
| #endif
|
|
|
| -#if OS(DARWIN)
|
| +#if OS(MACOSX)
|
| // 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();
|
|
|