diff options
Diffstat (limited to 'indra/llcommon/llthread.cpp')
-rw-r--r-- | indra/llcommon/llthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp index a92d553148..b7be8d6a3b 100644 --- a/indra/llcommon/llthread.cpp +++ b/indra/llcommon/llthread.cpp @@ -12,7 +12,7 @@ #include "lltimer.h" -#if LL_LINUX +#if LL_LINUX || LL_SOLARIS #include <sched.h> #endif @@ -206,7 +206,7 @@ void LLThread::setQuitting() // static void LLThread::yield() { -#if LL_LINUX +#if LL_LINUX || LL_SOLARIS sched_yield(); // annoyingly, apr_thread_yield is a noop on linux... #else apr_thread_yield(); |