diff options
author | José Fonseca <[email protected]> | 2009-11-06 15:08:05 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-11-06 15:08:05 +0000 |
commit | 96e938f62c729fab74601627d54c9c4cf499ebdf (patch) | |
tree | 98f4c4c47d05d1099433e71418398916caea47ee /src/gallium/drivers/llvmpipe/lp_bld_misc.h | |
parent | 38d3c156dc64679e5602816070a0bac4f1f39302 (diff) |
llvmpipe: Fix build with llvm 2.6.
Fixes bug 24949.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_misc.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_misc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_misc.h b/src/gallium/drivers/llvmpipe/lp_bld_misc.h index 51a84c5e258..0e787e0b9cb 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_misc.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_misc.h @@ -30,17 +30,23 @@ #define LP_BLD_MISC_H +#include "llvm/Config/config.h" + #ifdef __cplusplus extern "C" { #endif +#ifndef LLVM_NATIVE_ARCH + void LLVMLinkInJIT(void); -void +int LLVMInitializeNativeTarget(void); +#endif /* !LLVM_NATIVE_ARCH */ + #ifdef __cplusplus } |