Fix for mac/linux build
parent
20e1f567d5
commit
6b0fe3258a
|
|
@ -690,7 +690,7 @@ BOOL LLAudioDecodeMgr::addDecodeRequest(const LLUUID &uuid)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
#if LL_DARWIN || LL_LINUX
|
||||
#if LL_DARWIN
|
||||
// HACK: to fool the compiler into not emitting unused warnings.
|
||||
namespace {
|
||||
const ov_callbacks callback_array[4] = {OV_CALLBACKS_DEFAULT, OV_CALLBACKS_NOCLOSE, OV_CALLBACKS_STREAMONLY,
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ protected:
|
|||
public:
|
||||
LLThreadSafeRefCount();
|
||||
LLThreadSafeRefCount(const LLThreadSafeRefCount&);
|
||||
LLThreadSafeRefCount&operator=(const LLThreadSafeRefCount& ref)
|
||||
LLThreadSafeRefCount& operator=(const LLThreadSafeRefCount& ref)
|
||||
{
|
||||
if (sMutex)
|
||||
{
|
||||
|
|
@ -245,6 +245,7 @@ public:
|
|||
{
|
||||
sMutex->unlock();
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue