diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2011-03-07 14:23:09 -0800 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2011-03-07 14:23:09 -0800 |
commit | 12c2fd2ef051ca922f0d3076bc8160820980b6e2 (patch) | |
tree | 4d4d17a7481d5367595052c0bbe957549b7f4cce /indra | |
parent | 33927b8451bde10feeda0fc3d3c478b79ef2e0e2 (diff) |
update ogg-vorbis archive usage for darwin.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llaudio/llaudiodecodemgr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 01dfd03c18..84105ddfca 100644 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -680,4 +680,10 @@ BOOL LLAudioDecodeMgr::addDecodeRequest(const LLUUID &uuid) return FALSE; } - +#ifdef 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, + OV_CALLBACKS_STREAMONLY_NOCLOSE}; +} +#endif |