summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-28 17:30:26 +0000
committerEric Engestrom <[email protected]>2018-10-30 18:10:59 +0000
commit6f9309d5d4943b7cfea8ade3b06170605bc44c96 (patch)
treea034ba2b3752f547df6b07330ac535ce28730d06
parenta18d726621c1be6e4cb48678c539106658557d40 (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--scons/llvm.py3
-rw-r--r--src/gallium/drivers/svga/SConscript4
-rw-r--r--src/gallium/drivers/svga/svga_hw_reg.h6
-rw-r--r--src/gallium/winsys/svga/drm/SConscript1
4 files changed, 0 insertions, 14 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index a34edfb4b67..a84ad51d97a 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 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"
diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript
index 2cb11e610df..73989685992 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',
])