summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-02-01 14:38:28 +0000
committerJosé Fonseca <[email protected]>2012-02-02 09:04:10 +0000
commit54fd495c41d39a228ca87de9c8f7ebf4a06cd740 (patch)
tree7d3872e232a4cfa1724bc1f75f7b581fe7274889
parent15986d21ebaaeedb234b066edba5cf7f6ea87a3c (diff)
gallivm: Remove MSVC RT hack.
The hack never worked reliably, and docs/llvmpipe.html is quite clear on the requirement of matching CRT when building LLVM and Mesa already.
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_init.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index 503c04e107f..768d935dae5 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -445,17 +445,3 @@ gallivm_destroy(struct gallivm_state *gallivm)
/* No-op: don't destroy the singleton */
(void) gallivm;
}
-
-
-
-/*
- * 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>
-_CRTIMP void __cdecl
-_invalid_parameter_noinfo(void) {}
-#endif