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.
This commit is contained in:
José Fonseca 2012-02-01 14:38:28 +00:00
parent 15986d21eb
commit 54fd495c41

View file

@ -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