diff --git a/client/SDL_Extensions.h b/client/SDL_Extensions.h index ec73c6bce..92da0b790 100644 --- a/client/SDL_Extensions.h +++ b/client/SDL_Extensions.h @@ -6,6 +6,7 @@ #include "../int3.h" #include #include +#include #include /* @@ -31,7 +32,9 @@ bool isItIn(const SDL_Rect * rect, int x, int y); template std::string makeNumberShort(IntType number) //the output is a string containing at most 5 characters [4 if positive] (eg. intead 10000 it gives 10k) { +#if BOOST_VERSION >= 103800 BOOST_MPL_ASSERT_MSG( boost::is_integral::value, NON_INTEGRAL_TYPES_ARE_NOT_ALLOWED, (IntType) ); //it should make noise if IntType is not integral type +#endif int initialLength; bool negative = (number < 0);