From 6f9309d5d4943b7cfea8ade3b06170605bc44c96 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 28 Oct 2018 17:30:26 +0000 Subject: scons: drop unused HAVE_STDINT_H macro This was required back when MSVC didn't support C99 and was missing this header, but since MSVC 2013 (or maybe earlier?) this isn't it does and this code isn't doing anything anymore. Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- src/gallium/drivers/svga/SConscript | 4 ---- src/gallium/drivers/svga/svga_hw_reg.h | 6 ------ 2 files changed, 10 deletions(-) (limited to 'src/gallium/drivers/svga') diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript index 9c4806c7158..efed9790b77 100644 --- a/src/gallium/drivers/svga/SConscript +++ b/src/gallium/drivers/svga/SConscript @@ -8,10 +8,6 @@ if env['suncc']: print('warning: not building svga') Return() -env.Append(CPPDEFINES = [ - 'HAVE_STDINT_H', -]) - env.Prepend(CPPPATH = [ 'include', ]) diff --git a/src/gallium/drivers/svga/svga_hw_reg.h b/src/gallium/drivers/svga/svga_hw_reg.h index 183f4b918e0..91e50e4ee1d 100644 --- a/src/gallium/drivers/svga/svga_hw_reg.h +++ b/src/gallium/drivers/svga/svga_hw_reg.h @@ -28,12 +28,6 @@ #include "pipe/p_compiler.h" -#if defined(PIPE_CC_GCC) -#ifndef HAVE_STDINT_H -#define HAVE_STDINT_H -#endif -#endif - #include "svga_types.h" #include "svga3d_reg.h" -- cgit v1.2.3