diff options
author | Vinson Lee <[email protected]> | 2015-04-08 22:51:57 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2015-04-09 10:41:26 -0700 |
commit | 50e9fa2ed69cb5f76f66231976ea789c0091a64d (patch) | |
tree | 2980a3c86e5edd43d8311ced75ed47d5d3867f1d /src/gallium/auxiliary | |
parent | a873b79fa5e3138196a3c1785f2a65308fa78286 (diff) |
gallivm: Fix build since llvm-3.7.0svn r234460.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89963
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-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); |