[UCRTSUPPORT] Add wine c++ exception code

This commit is contained in:
Timo Kreuzer 2024-11-16 15:08:06 +02:00
parent e2d69ad98c
commit ae0fa8ba49
5 changed files with 103 additions and 45 deletions

View file

@ -41,8 +41,10 @@ thread_data_t *msvcrt_get_thread_data(void)
ptr->tid = GetCurrentThreadId();
ptr->handle = INVALID_HANDLE_VALUE;
ptr->random_seed = 1;
#ifndef __UCRTSUPPORT__
ptr->locinfo = MSVCRT_locale->locinfo;
ptr->mbcinfo = MSVCRT_locale->mbcinfo;
#endif /* !__UCRTSUPPORT__ */
}
SetLastError( err );
return ptr;