From 54fd495c41d39a228ca87de9c8f7ebf4a06cd740 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 1 Feb 2012 14:38:28 +0000 Subject: [PATCH] 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. --- src/gallium/auxiliary/gallivm/lp_bld_init.c | 14 -------------- 1 file changed, 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 -_CRTIMP void __cdecl -_invalid_parameter_noinfo(void) {} -#endif -- 2.30.2