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>
This commit is contained in:
parent
af12270ac6
commit
d45e36f5f8
|
@ -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 *);
|
||||
|
|
|
@ -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*);
|
||||
|
|
Loading…
Reference in New Issue