Windows compile and linker fixes.
* Do not include aithreadid.h from debug.h, because the latter is included everywhere (from linden_common.h) and aithreadid.h is heavy (includes among others windows.h). * On windows, thread local members cannot be exported.
This commit is contained in:
@@ -75,7 +75,7 @@ void LLRefCount::ref() const
|
||||
}
|
||||
|
||||
mMutex.lock() ;
|
||||
mLockedThreadID.reset();
|
||||
mLockedThreadID.reset_inline();
|
||||
|
||||
mRef++;
|
||||
|
||||
@@ -96,7 +96,7 @@ S32 LLRefCount::unref() const
|
||||
}
|
||||
|
||||
mMutex.lock() ;
|
||||
mLockedThreadID.reset();
|
||||
mLockedThreadID.reset_inline();
|
||||
|
||||
llassert(mRef >= 1);
|
||||
if (0 == --mRef)
|
||||
|
||||
Reference in New Issue
Block a user