diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 9a4025af4bafa50dd2c64de46a8a48bb4cdf8a82..2da9aabcd471127f05863f4b5d76c14b76414ea3 100755
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -86,7 +86,7 @@
 
 #define UNROLL_GEN_TPL(name, args_seq, operation, spec_seq) \
 	/*general specialization - should not be implemented!*/ \
-	template<U8> struct name { inline void operator()(_UNROL_GEN_TPL_TYPE_ARGS(args_seq)) { BOOST_STATIC_ASSERT(false, "Should not be instantiated."); } }; \
+	template<U8> struct name { inline void operator()(_UNROL_GEN_TPL_TYPE_ARGS(args_seq)) { boost::static_assert(!"Should not be instantiated.");  } }; \
 	BOOST_PP_SEQ_FOR_EACH(_UNROLL_GEN_TPL_foreach_seq_macro, (name)(args_seq)(operation), spec_seq)
 //..................................................................................
 //..................................................................................