summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-03-13 19:49:21 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-03-13 19:49:21 +0000
commitc27e58c10940a6442705a4399c5100c82c122a6e (patch)
treecd9c9e9542b3c663b78a26a05407a4d1057c949f /src/gallium/auxiliary
parente6314db0ac537695a20feb5fab8d77a30836eccf (diff)
gallivm: Fix build with llvm 2.6 on 32bit platforms
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 49388aadcc..bb2c82fe0e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -111,6 +111,7 @@ lp_debug_dump_value(LLVMValueRef value)
}
+#if HAVE_LLVM >= 0x0207
/*
* MemoryObject wrapper around a buffer of memory, to be used by MC
* disassembler.
@@ -145,6 +146,7 @@ public:
return 0;
}
};
+#endif /* HAVE_LLVM >= 0x0207 */
/*
@@ -348,8 +350,8 @@ lp_disassemble(const void* func)
}
debug_printf("\n");
-#else
+#else /* HAVE_LLVM < 0x0207 */
(void)func;
-#endif
+#endif /* HAVE_LLVM < 0x0207 */
}