[Mesa-dev] [PATCH mesa 01/12] scons: drop unused HAVE_STDINT_H macro
Eric Engestrom
eric.engestrom at intel.com
Mon Oct 29 17:13:22 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
scons/llvm.py | 3 ---
src/gallium/drivers/svga/SConscript | 4 ----
src/gallium/drivers/svga/svga_hw_reg.h | 6 ------
src/gallium/winsys/svga/drm/SConscript | 1 -
4 files changed, 14 deletions(-)
diff --git a/scons/llvm.py b/scons/llvm.py
index a34edfb4b67148f5ac90..a84ad51d97a7d06af107 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -99,9 +99,6 @@ def generate(env):
return
env.Prepend(CPPPATH = [os.path.join(llvm_dir, 'include')])
- env.AppendUnique(CPPDEFINES = [
- 'HAVE_STDINT_H',
- ])
env.Prepend(LIBPATH = [os.path.join(llvm_dir, 'lib')])
# LIBS should match the output of `llvm-config --libs engine mcjit bitwriter x86asmprinter irreader`
if llvm_version >= distutils.version.LooseVersion('5.0'):
diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript
index 9c4806c715855b180d1c..efed9790b77d78ab85e4 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 183f4b918e0e72ce0648..91e50e4ee1d08d9e2846 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"
diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript
index 2cb11e610df2f867a952..73989685992e3e0ace33 100644
--- a/src/gallium/winsys/svga/drm/SConscript
+++ b/src/gallium/winsys/svga/drm/SConscript
@@ -5,7 +5,6 @@ env = env.Clone()
env.PkgUseModules('DRM')
env.Append(CPPDEFINES = [
- 'HAVE_STDINT_H',
'-D_FILE_OFFSET_BITS=64',
])
--
Cheers,
Eric
More information about the mesa-dev
mailing list