gallivm: Temporarily disable custom LLVMDumpValue on MSVC.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 10 May 2010 13:43:47 +0000 (14:43 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 10 May 2010 13:43:47 +0000 (14:43 +0100)
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.

src/gallium/auxiliary/gallivm/lp_bld_misc.cpp

index ee56778008b120e06c9a5dbbe9cefd8b1ff6777e..fc578979a0fc9f05deb861dfacbc0455a1bacc95 100644 (file)
 #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