summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-05-04 17:57:14 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-05-04 17:57:14 -0700
commitb43e59c312a95ce362be2a710c638c7e8814c82c (patch)
tree24ea2a8121725bc96f5c331a6ef8c87964ae3af8 /indra/llcommon/llerror.h
parent493cc9aabc07085f682b3f01792288f761e7660f (diff)
Altering the build headers such that I can use llinfos in the llphysicsextension library.
Diffstat (limited to 'indra/llcommon/llerror.h')
-rw-r--r--indra/llcommon/llerror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h
index b3e604f8e8..a72e9a4892 100644
--- a/indra/llcommon/llerror.h
+++ b/indra/llcommon/llerror.h
@@ -143,9 +143,13 @@ namespace LLError
CallSite(ELevel, const char* file, int line,
const std::type_info& class_info, const char* function, const char* broadTag, const char* narrowTag, bool printOnce);
+#ifdef LL_LIBRARY_INCLUDE
+ bool shouldLog();
+#else // LL_LIBRARY_INCLUDE
bool shouldLog()
{ return mCached ? mShouldLog : Log::shouldLog(*this); }
// this member function needs to be in-line for efficiency
+#endif // LL_LIBRARY_INCLUDE
void invalidate();