diff options
author | Andrew Meadows <andrew@lindenlab.com> | 2013-01-04 03:02:54 +0000 |
---|---|---|
committer | Andrew Meadows <andrew@lindenlab.com> | 2013-01-04 03:02:54 +0000 |
commit | 019836a39667889d4347277cde82270113992bb6 (patch) | |
tree | 50345c6fb016dc2d0910ac7a39a5317da511ef59 /indra/llcommon/llerrorlegacy.h | |
parent | 6e82bb7789c1e046dcfb97c6773150df110153f8 (diff) |
More fixes for linux build of lltrace changes
Diffstat (limited to 'indra/llcommon/llerrorlegacy.h')
-rw-r--r-- | indra/llcommon/llerrorlegacy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llerrorlegacy.h b/indra/llcommon/llerrorlegacy.h index 58cc2899af..097a533b1a 100644 --- a/indra/llcommon/llerrorlegacy.h +++ b/indra/llcommon/llerrorlegacy.h @@ -114,8 +114,10 @@ const int LL_ERR_PRICE_MISMATCH = -23018; #ifdef LL_WINDOWS #define llstatic_assert(func, msg) static_assert(func, msg) +#define llstatic_assert_template(type, func, msg) static_assert(func, msg) #else #define llstatic_assert(func, msg) BOOST_STATIC_ASSERT(func) +#define llstatic_assert_template(type, func, msg) BOOST_STATIC_ASSERT(sizeof(type) != 0 && func); #endif // handy compile-time assert - enforce those template parameters! |