summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-05-10 14:43:47 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-05-10 14:43:47 +0100
commit2e524fd8bcf9448b3f0d082a96407f93c6d0204c (patch)
treea08be503f8a29099b877d623bf2bbe5a698adff4 /src/gallium/auxiliary
parente3205b05407473e462f2c3668f56062da00ee0ea (diff)
gallivm: Temporarily disable custom LLVMDumpValue on MSVC.
Seeing very weird crashes during std::cout initialization. The fault probably lies in the way I build LLVM on MSVC, but disable for now to allow more time to investigate.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_misc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index ee56778008..fc578979a0 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -34,13 +34,14 @@
#define __STDC_CONSTANT_MACROS
#endif
-#include "llvm/Support/raw_ostream.h"
#include "llvm-c/Core.h"
#include "util/u_debug.h"
-#if defined(PIPE_OS_WINDOWS) || defined(PIPE_OS_EMBDDED)
+#if (defined(PIPE_OS_WINDOWS) && !defined(PIPE_CC_MSVC)) || defined(PIPE_OS_EMBDDED)
+
+#include "llvm/Support/raw_ostream.h"
class raw_debug_ostream :
public llvm::raw_ostream