util: use STATIC_ASSERT instead of static_assert
authorTapani Pälli <tapani.palli@intel.com>
Wed, 9 Nov 2016 06:58:12 +0000 (08:58 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 11 Nov 2016 05:59:29 +0000 (07:59 +0200)
commitec725dc140592f0d3e4fc3e830cfd1edaf5546c0
treeb4fb6c38c1194c3885939b628c748d1230c171b0
parent98969808ffbb12538b98ce6d927c1527d196caa9
util: use STATIC_ASSERT instead of static_assert

fixes following compilation warnings on Android build:

"warning: implicit declaration of function 'static_assert' is invalid in
C99 [-Wimplicit-function-declaration]"

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/util/u_vector.h