Permanently disable in bootstrap.c Microsoft's completely INSANE Invalid CRT Parameter handling behavior

git-svn-id: file:///home/jj/hercules.svn/trunk@4156 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Fish (David B Trout)
2006-12-28 03:04:34 +00:00
parent a40d369552
commit a2eb0b57c7
2 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,9 @@
// $Id$
//
// $Log$
// Revision 1.10 2006/12/08 09:43:16 jj
// Add CVS message log
//
#include "hstdinc.h"
#include "hercules.h"
@@ -81,6 +84,10 @@ int main(int ac,char *av[])
SET_THREAD_NAME("bootstrap");
// Disable Microsoft's INSANE invalid crt parameter handling!
DISABLE_CRT_INVALID_PARAMETER_HANDLER();
// If we're being debugged, then let the debugger
// catch the exception. Otherwise, let our exception
// handler catch it...