Mesa (master): gallivm: Remove MSVC RT hack.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Feb 2 01:10:30 PST 2012


Module: Mesa
Branch: master
Commit: 54fd495c41d39a228ca87de9c8f7ebf4a06cd740
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54fd495c41d39a228ca87de9c8f7ebf4a06cd740

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Feb  1 14:38:28 2012 +0000

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 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 503c04e..768d935 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



More information about the mesa-commit mailing list