From 9a25c8af1b7fad0e7b3f3f3b4cbf6ae6e32e0e4d Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Mon, 18 Apr 2016 11:47:07 +0100 Subject: scons: Whenever possible decide what to do based on platform and not compiler. Because compilers like GCC and Clang are effectively available everywhere so their presence/absence is seldom conclusive. Furthermore, all compilers we use now have stdint.h. Reviewed-by: Roland Scheidegger Reviewed-by: Brian Paul --- src/gallium/drivers/svga/SConscript | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers/svga') diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript index 0ee624616f9..aee337fa846 100644 --- a/src/gallium/drivers/svga/SConscript +++ b/src/gallium/drivers/svga/SConscript @@ -8,10 +8,9 @@ if env['suncc']: print 'warning: not building svga' Return() -if env['gcc'] or env['clang']: - env.Append(CPPDEFINES = [ - 'HAVE_STDINT_H', - ]) +env.Append(CPPDEFINES = [ + 'HAVE_STDINT_H', +]) env.Prepend(CPPPATH = [ 'include', -- cgit v1.2.3