summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerrorlegacy.h
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-26 12:32:38 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-26 12:32:38 +0200
commita3215a0f09542b513ca06b133631d5b074a308a4 (patch)
treef137af067c5f13191485be1c4f6f79e70d9a23c7 /indra/llcommon/llerrorlegacy.h
parenta402b2975fdb88781efa340d186c9ace449f9521 (diff)
parentb15bebb34853cb839100c48f5b28d52e60660c13 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llcommon/llerrorlegacy.h')
-rw-r--r--indra/llcommon/llerrorlegacy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llerrorlegacy.h b/indra/llcommon/llerrorlegacy.h
index 9920921a58..476d75380f 100644
--- a/indra/llcommon/llerrorlegacy.h
+++ b/indra/llcommon/llerrorlegacy.h
@@ -34,7 +34,7 @@
#ifndef LL_LLERRORLEGACY_H
#define LL_LLERRORLEGACY_H
-
+#include "llpreprocessor.h"
/*
LEGACY -- DO NOT USE THIS STUFF ANYMORE
@@ -107,7 +107,7 @@ const int LL_ERR_PRICE_MISMATCH = -23018;
#define llwarning(msg, num) llwarns << "Warning # " << num << ": " << msg << llendl;
-#define llassert_always(func) if (!(func)) llerrs << "ASSERT (" << #func << ")" << llendl;
+#define llassert_always(func) if (LL_UNLIKELY(!(func))) llerrs << "ASSERT (" << #func << ")" << llendl;
#ifdef SHOW_ASSERT
#define llassert(func) llassert_always(func)