mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msvcrt: Fix MSVC build in exit.c and msvcrt.h.
This commit is contained in:
parent
24a1fc3766
commit
5402827329
2 changed files with 8 additions and 8 deletions
|
@ -300,7 +300,7 @@ void CDECL MSVCRT_exit(int exitcode)
|
|||
{
|
||||
HMODULE hmscoree;
|
||||
static const WCHAR mscoreeW[] = {'m','s','c','o','r','e','e',0};
|
||||
void WINAPI (*pCorExitProcess)(int);
|
||||
void (WINAPI *pCorExitProcess)(int);
|
||||
|
||||
TRACE("(%d)\n",exitcode);
|
||||
MSVCRT__cexit();
|
||||
|
|
|
@ -76,14 +76,14 @@ typedef __int64 DECLSPEC_ALIGN(8) MSVCRT___time64_t;
|
|||
typedef __int64 DECLSPEC_ALIGN(8) MSVCRT_fpos_t;
|
||||
typedef int MSVCRT_mbstate_t;
|
||||
|
||||
typedef void (*__cdecl MSVCRT_terminate_handler)(void);
|
||||
typedef void (*__cdecl MSVCRT_terminate_function)(void);
|
||||
typedef void (*__cdecl MSVCRT_unexpected_handler)(void);
|
||||
typedef void (*__cdecl MSVCRT_unexpected_function)(void);
|
||||
typedef void (*__cdecl MSVCRT__se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
|
||||
typedef void (*__cdecl MSVCRT__beginthread_start_routine_t)(void *);
|
||||
typedef void (__cdecl *MSVCRT_terminate_handler)(void);
|
||||
typedef void (__cdecl *MSVCRT_terminate_function)(void);
|
||||
typedef void (__cdecl *MSVCRT_unexpected_handler)(void);
|
||||
typedef void (__cdecl *MSVCRT_unexpected_function)(void);
|
||||
typedef void (__cdecl *MSVCRT__se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
|
||||
typedef void (__cdecl *MSVCRT__beginthread_start_routine_t)(void *);
|
||||
typedef unsigned int (__stdcall *MSVCRT__beginthreadex_start_routine_t)(void *);
|
||||
typedef int (*__cdecl MSVCRT__onexit_t)(void);
|
||||
typedef int (__cdecl *MSVCRT__onexit_t)(void);
|
||||
typedef void (__cdecl *MSVCRT_invalid_parameter_handler)(const MSVCRT_wchar_t*, const MSVCRT_wchar_t*, const MSVCRT_wchar_t*, unsigned, MSVCRT_uintptr_t);
|
||||
typedef void (__cdecl *MSVCRT_purecall_handler)(void);
|
||||
typedef void (__cdecl *MSVCRT_security_error_handler)(int, void *);
|
||||
|
|
Loading…
Reference in a new issue