* fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seems
to think is equivalent to VK_CLEAR. * debug.cc (thread_stub): Eliminate initialization of reent stuff. * init.cc (dll_entry): Move it here.
This commit is contained in:
@ -26,6 +26,12 @@ WINAPI dll_entry (HANDLE h, DWORD reason, void *static_load)
|
||||
dynamically_loaded = (static_load == NULL);
|
||||
break;
|
||||
case DLL_THREAD_ATTACH:
|
||||
if (user_data->initial_sp)
|
||||
{
|
||||
if ( !TlsSetValue(user_data->threadinterface->reent_index,
|
||||
&user_data->threadinterface->reents))
|
||||
api_fatal("Sig proc MT init failed\n");
|
||||
}
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user