mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 19:34:47 +02:00
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:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user