From: Aaron Watry Date: Sat, 21 Jun 2014 00:13:30 +0000 (-0500) Subject: gallivm: Fix build after LLVM commit 211259 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=564821c917f4a9d5a0de2ee77b90b0cd85e3d3a6;p=mesa.git gallivm: Fix build after LLVM commit 211259 Signed-off-by: Aaron Watry Reviewed-by: Tom Stellard --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index df268831969..413a0c2cd72 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -51,7 +51,9 @@ #include #include -#if HAVE_LLVM >= 0x0303 +#if HAVE_LLVM >= 0x0305 +#define OwningPtr std::unique_ptr +#elif HAVE_LLVM >= 0x0303 #include #endif