From aff35cae3d5c3f0f4a2798498464914f3a922a91 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 30 Nov 2008 13:39:21 -0600 Subject: Disable llmozlib-dependent code when not available. Patch by Stephen Zenith. [#12] --- linden/indra/llmedia/llmediamanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linden/indra/llmedia/llmediamanager.cpp') diff --git a/linden/indra/llmedia/llmediamanager.cpp b/linden/indra/llmedia/llmediamanager.cpp index f72e63c..16c731f 100644 --- a/linden/indra/llmedia/llmediamanager.cpp +++ b/linden/indra/llmedia/llmediamanager.cpp @@ -150,8 +150,10 @@ LLMediaManager* LLMediaManager::getInstance() // (static) void LLMediaManager::setBrowserUserAgent(std::string user_agent) { +#if LL_LLMOZLIB_ENABLED // *HACK: Breaks encapsulation model, as initClass does above. JC LLMediaImplLLMozLib::setBrowserUserAgent(user_agent); +#endif } //////////////////////////////////////////////////////////////////////////////// -- cgit v1.1