summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_pack.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-11 13:57:52 -0700
committerBrian Paul <brianp@vmware.com>2010-03-11 14:49:00 -0700
commit489af2a3ba467e4341cb8504a0e59cf5828864d4 (patch)
tree1a8707a2c7e3404ced9394a6475d5c250c33b2d1 /src/gallium/auxiliary/gallivm/lp_bld_pack.c
parent4833b0f199ce2728a456de9cac753ac921fef828 (diff)
gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_pack.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.c b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 4c61d10749..23398f41f9 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_pack.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
@@ -256,7 +256,7 @@ lp_build_pack2(LLVMBuilderRef builder,
LLVMValueRef lo,
LLVMValueRef hi)
{
-#if !(HAVE_LLVM >= 0x0207)
+#if HAVE_LLVM < 0x0207
LLVMTypeRef src_vec_type = lp_build_vec_type(src_type);
#endif
LLVMTypeRef dst_vec_type = lp_build_vec_type(dst_type);