From fcf532ce6f4812d3cc0d3a0697c965fa354dd697 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 May 2010 10:54:45 -0600 Subject: [PATCH] gallivm: comment out LLVMUnionTypeKind case --- src/gallium/auxiliary/gallivm/lp_bld_type.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_type.c b/src/gallium/auxiliary/gallivm/lp_bld_type.c index a86ef03e41c..90289631397 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_type.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_type.c @@ -275,8 +275,10 @@ lp_typekind_name(LLVMTypeKind t) return "LLVMVectorTypeKind"; case LLVMMetadataTypeKind: return "LLVMMetadataTypeKind"; + /* Only in LLVM 2.7 and later??? case LLVMUnionTypeKind: return "LLVMUnionTypeKind"; + */ default: return "unknown LLVMTypeKind"; } -- 2.30.2