mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (NtInitialize): need to set a handler for VC++8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a4e21b2cd6
commit
20f3ea3f6c
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Feb 24 11:17:45 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (NtInitialize): need to set a handler for VC++8.
|
||||
|
||||
Thu Feb 23 22:39:59 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
|
||||
|
|
|
@ -410,6 +410,13 @@ init_env(void)
|
|||
|
||||
static void init_stdhandle(void);
|
||||
|
||||
#if _MSC_VER >= 1400
|
||||
static void invalid_parameter(const wchar_t *expr, const wchar_t *func, const wchar_t *file, unsigned int line, uintptr_t dummy)
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// Initialization stuff
|
||||
//
|
||||
|
@ -420,6 +427,10 @@ NtInitialize(int *argc, char ***argv)
|
|||
WORD version;
|
||||
int ret;
|
||||
|
||||
#if _MSC_VER >= 1400
|
||||
_set_invalid_parameter_handler(invalid_parameter);
|
||||
#endif
|
||||
|
||||
//
|
||||
// subvert cmd.exe's feeble attempt at command line parsing
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue