llvmpipe: Yet another hack to get release LLVM static libraries to link in debug builds.
This commit is contained in:
parent
a921458c16
commit
cdc11056de
|
@ -59,3 +59,17 @@ LLVMInitializeNativeTarget(void)
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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>
|
||||||
|
extern "C" {
|
||||||
|
_CRTIMP void __cdecl _invalid_parameter_noinfo(void) {}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue