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:
Aleric Inglewood
2012-08-11 03:23:31 +02:00
parent 70717cb6c8
commit 3469d65f95
8 changed files with 78 additions and 48 deletions

View File

@@ -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)