$NetBSD: patch-ae,v 1.3 2009/04/13 12:16:24 rh Exp $ --- Source/thr-pthread.m.orig 2008-06-12 20:44:00.000000000 +1000 +++ Source/thr-pthread.m @@ -259,8 +259,8 @@ objc_thread_get_priority(void) void objc_thread_yield(void) { -#if !defined(__APPLE__) - /* Not defined in darwin? */ +#if (defined(__linux__) || defined(__OpenBSD__)) + /* Not defined in POSIX, but used by some platforms */ pthread_yield(); #else sched_yield();