Commit d45e36f5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Avoid _onexit_t redefinition.

parent af12270a
...@@ -32,7 +32,10 @@ typedef struct _onexit_table_t { ...@@ -32,7 +32,10 @@ typedef struct _onexit_table_t {
_PVFV *_end; _PVFV *_end;
} _onexit_table_t; } _onexit_table_t;
#ifndef _CRT_ONEXIT_T_DEFINED
#define _CRT_ONEXIT_T_DEFINED
typedef int (__cdecl *_onexit_t)(void); typedef int (__cdecl *_onexit_t)(void);
#endif
struct _exception; struct _exception;
typedef int (__cdecl *_UserMathErrorFunctionPointer)(struct _exception *); typedef int (__cdecl *_UserMathErrorFunctionPointer)(struct _exception *);
......
...@@ -136,7 +136,10 @@ errno_t __cdecl _get_errno(int*); ...@@ -136,7 +136,10 @@ errno_t __cdecl _get_errno(int*);
errno_t __cdecl _set_doserrno(int); errno_t __cdecl _set_doserrno(int);
errno_t __cdecl _set_errno(int); errno_t __cdecl _set_errno(int);
#ifndef _CRT_ONEXIT_T_DEFINED
#define _CRT_ONEXIT_T_DEFINED
typedef int (__cdecl *_onexit_t)(void); typedef int (__cdecl *_onexit_t)(void);
#endif
int __cdecl _atodbl(_CRT_DOUBLE*,char*); int __cdecl _atodbl(_CRT_DOUBLE*,char*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment