projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a921458
)
llvmpipe: Yet another hack to get release LLVM static libraries to link in debug...
author
José Fonseca
<jfonseca@vmware.com>
Sun, 10 Jan 2010 11:20:11 +0000
(11:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 10 Jan 2010 11:20:11 +0000
(11:20 +0000)
src/gallium/drivers/llvmpipe/lp_bld_misc.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_misc.cpp
b/src/gallium/drivers/llvmpipe/lp_bld_misc.cpp
index d3f78c06d92a03c48c7c7c5b80435bcec08811ac..6e79438ead073dadb4fc621e2a4687ddd4742cde 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_misc.cpp
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_misc.cpp
@@
-59,3
+59,17
@@
LLVMInitializeNativeTarget(void)
#endif
+
+
+/*
+ * Hack to allow the linking of release LLVM static libraries on a debug build.
+ *
+ * See also:
+ * - http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/7234ea2b-0042-42ed-b4e2-5d8644dfb57d
+ */
+#if defined(_MSC_VER) && defined(_DEBUG)
+#include <crtdefs.h>
+extern "C" {
+ _CRTIMP void __cdecl _invalid_parameter_noinfo(void) {}
+}
+#endif