gallivm: Fix build since llvm-3.7.0svn r234460.
authorVinson Lee <vlee@freedesktop.org>
Thu, 9 Apr 2015 05:51:57 +0000 (22:51 -0700)
committerVinson Lee <vlee@freedesktop.org>
Thu, 9 Apr 2015 17:41:26 +0000 (10:41 -0700)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89963
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp

index 65d289689f82a243159099e1df173ab274b123da..b71291562f7bc91106268c8566663c06b02bb6ab 100644 (file)
@@ -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);