projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfdff94
)
gallivm: Fix build with llvm-2.9.
author
Vinson Lee
<vlee@vmware.com>
Fri, 25 Mar 2011 19:47:06 +0000
(12:47 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 25 Mar 2011 19:47:06 +0000
(12:47 -0700)
In llvm-2.9, the header file llvm/System/Host.h has been moved to
llvm/Support/Host.h.
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index bb2c82fe0eddb5cb3c67525d223c3b560db1498c..1f24cb6f572202551c31e098d98ebe874f565c8b 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@
-32,7
+32,12
@@
#include <llvm/Target/TargetInstrInfo.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/Support/MemoryObject.h>
+
+#if HAVE_LLVM >= 0x0209
+#include <llvm/Support/Host.h>
+#else
#include <llvm/System/Host.h>
+#endif
#if HAVE_LLVM >= 0x0207
#include <llvm/MC/MCDisassembler.h>