Module: Mesa
Branch: 7.11
Commit: 2c1998b3b9777def30f711a12c4605116dca4f9b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c1998b3b9777def30f711a12c4605116dca4f9b

Author: Vinson Lee <[email protected]>
Date:   Mon Jul 11 12:48:06 2011 -0700

gallivm: Remove LLVMOpaqueKindType case with llvm-3.0.

llvm-3.0svn r134829 removed LLVMOpaqueKindType from enum LLVMTypeKind in
include/llvm-c/Core.h.
(cherry picked from commit e4189f2e2e310276136dc06af20062986920e8e2)

---

 src/gallium/auxiliary/gallivm/lp_bld_type.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_type.c 
b/src/gallium/auxiliary/gallivm/lp_bld_type.c
index c5cf6d4..11a2b05 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:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to