From: Vinson Lee Date: Mon, 11 Jul 2011 19:48:06 +0000 (-0700) Subject: gallivm: Remove LLVMOpaqueKindType case with llvm-3.0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4189f2e2e310276136dc06af20062986920e8e2;p=mesa.git gallivm: Remove LLVMOpaqueKindType case with llvm-3.0. llvm-3.0svn r134829 removed LLVMOpaqueKindType from enum LLVMTypeKind in include/llvm-c/Core.h. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_type.c b/src/gallium/auxiliary/gallivm/lp_bld_type.c index c5cf6d4a6c4..11a2b055cc2 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_type.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_type.c @@ -325,8 +325,10 @@ lp_typekind_name(LLVMTypeKind t) return "LLVMArrayTypeKind"; case LLVMPointerTypeKind: return "LLVMPointerTypeKind"; +#if HAVE_LLVM < 0x0300 case LLVMOpaqueTypeKind: return "LLVMOpaqueTypeKind"; +#endif case LLVMVectorTypeKind: return "LLVMVectorTypeKind"; case LLVMMetadataTypeKind: