Compile fix for OSX

This commit is contained in:
Aleric Inglewood
2012-08-31 05:23:20 +02:00
parent ea4d32b4ad
commit 484fff444f
3 changed files with 13 additions and 9 deletions

View File

@@ -447,11 +447,7 @@ std::ostream& operator<<(std::ostream& os, print_thread_id_t)
{
if (!AIThreadID::in_main_thread_inline())
{
#ifdef LL_DARWIN
os << std::hex << (size_t)apr_os_thread_current() << std::dec << ' ';
#else
os << std::hex << (size_t)AIThreadID::getCurrentThread_inline() << std::dec << ' ';
#endif
}
return os;
}