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 --- scons/llvm.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'scons') 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'): -- cgit v1.2.3