diff options
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 |
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 |