diff options
author | Roland Scheidegger <sroland@vmware.com> | 2014-05-17 02:03:35 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2014-05-17 02:03:35 +0200 |
commit | 3bf2d86c09caeb3ed7c892a3852b8d2d921cff01 (patch) | |
tree | e13d02b648c8c15b34cc8ae05b1288c5bcd4be75 /src/gallium | |
parent | 3a1da0abeef4144e3c060216d78420f047c6e585 (diff) | |
download | external_mesa3d-3bf2d86c09caeb3ed7c892a3852b8d2d921cff01.zip external_mesa3d-3bf2d86c09caeb3ed7c892a3852b8d2d921cff01.tar.gz external_mesa3d-3bf2d86c09caeb3ed7c892a3852b8d2d921cff01.tar.bz2 |
gallivm: (trivial) fix compilation with llvm 3.1, 3.2
I actually checked the getModuleIdentifier() function exists with 3.1 but
missed that the file moved...
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=78803
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 621290f..df26883 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -39,7 +39,11 @@ #include <llvm/Support/Host.h> +#if HAVE_LLVM >= 0x0303 #include <llvm/IR/Module.h> +#else +#include <llvm/Module.h> +#endif #include <llvm/MC/MCDisassembler.h> #include <llvm/MC/MCAsmInfo.h> |