diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llthread.cpp b/linden/indra/llcommon/llthread.cpp index 0f833ab..d261c8b 100644 --- a/linden/indra/llcommon/llthread.cpp +++ b/linden/indra/llcommon/llthread.cpp | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include "lltimer.h" | 33 | #include "lltimer.h" |
34 | 34 | ||
35 | #if LL_LINUX | 35 | #if LL_LINUX || LL_SOLARIS |
36 | #include <sched.h> | 36 | #include <sched.h> |
37 | #endif | 37 | #endif |
38 | 38 | ||
@@ -226,7 +226,7 @@ void LLThread::setQuitting() | |||
226 | // static | 226 | // static |
227 | void LLThread::yield() | 227 | void LLThread::yield() |
228 | { | 228 | { |
229 | #if LL_LINUX | 229 | #if LL_LINUX || LL_SOLARIS |
230 | sched_yield(); // annoyingly, apr_thread_yield is a noop on linux... | 230 | sched_yield(); // annoyingly, apr_thread_yield is a noop on linux... |
231 | #else | 231 | #else |
232 | apr_thread_yield(); | 232 | apr_thread_yield(); |