From: José Fonseca Date: Wed, 1 Feb 2012 14:38:28 +0000 (+0000) Subject: gallivm: Remove MSVC RT hack. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54fd495c41d39a228ca87de9c8f7ebf4a06cd740;p=mesa.git 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. --- 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 -_CRTIMP void __cdecl -_invalid_parameter_noinfo(void) {} -#endif