From 5750eb334207bd65dc84a033b60f0e9de0e10593 Mon Sep 17 00:00:00 2001 From: Aaron Watry Date: Fri, 20 Jun 2014 19:13:30 -0500 Subject: gallivm: Fix build after LLVM commit 211259 Signed-off-by: Aaron Watry Reviewed-by: Tom Stellard (cherry picked from commit 564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6) Nominated-by: Emil Velikov Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83567 --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 2629aaa66d6..4a6dc392b15 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -61,7 +61,9 @@ #include #endif /* HAVE_LLVM >= 0x0301 */ -#if HAVE_LLVM >= 0x0303 +#if HAVE_LLVM >= 0x0305 +#define OwningPtr std::unique_ptr +#elif HAVE_LLVM >= 0x0303 #include #endif -- cgit v1.2.3