* 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
@ -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>
|
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
|
* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
|
||||||
|
@ -410,6 +410,13 @@ init_env(void)
|
|||||||
|
|
||||||
static void init_stdhandle(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
|
// Initialization stuff
|
||||||
//
|
//
|
||||||
@ -420,6 +427,10 @@ NtInitialize(int *argc, char ***argv)
|
|||||||
WORD version;
|
WORD version;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
#if _MSC_VER >= 1400
|
||||||
|
_set_invalid_parameter_handler(invalid_parameter);
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// subvert cmd.exe's feeble attempt at command line parsing
|
// subvert cmd.exe's feeble attempt at command line parsing
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user