diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 65d289689f8..b71291562f7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -97,7 +97,11 @@ private: uint64_t pos; public: +#if HAVE_LLVM >= 0x0307 + raw_debug_ostream() : raw_ostream(SK_FD), pos(0) { } +#else raw_debug_ostream() : pos(0) { } +#endif void write_impl(const char *Ptr, size_t Size); |