summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2014-06-20 19:13:30 -0500
committerAaron Watry <awatry@gmail.com>2014-06-20 19:49:18 -0500
commit564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6 (patch)
tree5ce16ae96c6bdaafa83efab889f8355e50cd80cc /src/gallium/auxiliary/gallivm
parent86bd2196b4ccec50443e99e6c8bf1659e1df9f37 (diff)
downloadexternal_mesa3d-564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6.zip
external_mesa3d-564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6.tar.gz
external_mesa3d-564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6.tar.bz2
gallivm: Fix build after LLVM commit 211259
Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index df26883..413a0c2 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -51,7 +51,9 @@
#include <llvm/MC/MCInstPrinter.h>
#include <llvm/MC/MCRegisterInfo.h>
-#if HAVE_LLVM >= 0x0303
+#if HAVE_LLVM >= 0x0305
+#define OwningPtr std::unique_ptr
+#elif HAVE_LLVM >= 0x0303
#include <llvm/ADT/OwningPtr.h>
#endif