include: Avoid _onexit_t redefinition.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48888
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-04-06 20:26:49 +02:00 committed by Alexandre Julliard
parent af12270ac6
commit d45e36f5f8
2 changed files with 6 additions and 0 deletions

View File

@ -32,7 +32,10 @@ typedef struct _onexit_table_t {
_PVFV *_end;
} _onexit_table_t;
#ifndef _CRT_ONEXIT_T_DEFINED
#define _CRT_ONEXIT_T_DEFINED
typedef int (__cdecl *_onexit_t)(void);
#endif
struct _exception;
typedef int (__cdecl *_UserMathErrorFunctionPointer)(struct _exception *);

View File

@ -136,7 +136,10 @@ errno_t __cdecl _get_errno(int*);
errno_t __cdecl _set_doserrno(int);
errno_t __cdecl _set_errno(int);
#ifndef _CRT_ONEXIT_T_DEFINED
#define _CRT_ONEXIT_T_DEFINED
typedef int (__cdecl *_onexit_t)(void);
#endif
int __cdecl _atodbl(_CRT_DOUBLE*,char*);