mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msvcrt: Use _exception definiotion from public header.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
811647dff4
commit
595ee43c48
2 changed files with 3 additions and 11 deletions
|
@ -57,7 +57,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
|||
#define _OVERFLOW 3 /* range overflow */
|
||||
#define _UNDERFLOW 4 /* range underflow */
|
||||
|
||||
typedef int (CDECL *MSVCRT_matherr_func)(struct MSVCRT__exception *);
|
||||
typedef int (CDECL *MSVCRT_matherr_func)(struct _exception *);
|
||||
typedef double LDOUBLE; /* long double is just a double */
|
||||
|
||||
static MSVCRT_matherr_func MSVCRT_default_matherr_func = NULL;
|
||||
|
@ -83,7 +83,7 @@ static inline float fp_barrierf(float x)
|
|||
/*********************************************************************
|
||||
* _matherr (CRTDLL.@)
|
||||
*/
|
||||
int CDECL MSVCRT__matherr(struct MSVCRT__exception *e)
|
||||
int CDECL MSVCRT__matherr(struct _exception *e)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ int CDECL MSVCRT__matherr(struct MSVCRT__exception *e)
|
|||
|
||||
static double math_error(int type, const char *name, double arg1, double arg2, double retval)
|
||||
{
|
||||
struct MSVCRT__exception exception = {type, (char *)name, arg1, arg2, retval};
|
||||
struct _exception exception = {type, (char *)name, arg1, arg2, retval};
|
||||
|
||||
TRACE("(%d, %s, %g, %g, %g)\n", type, debugstr_a(name), arg1, arg2, retval);
|
||||
|
||||
|
|
|
@ -287,14 +287,6 @@ typedef struct _iobuf MSVCRT_FILE;
|
|||
|
||||
extern MSVCRT_FILE MSVCRT__iob[];
|
||||
|
||||
struct MSVCRT__exception {
|
||||
int type;
|
||||
char* name;
|
||||
double arg1;
|
||||
double arg2;
|
||||
double retval;
|
||||
};
|
||||
|
||||
typedef struct _complex _Dcomplex;
|
||||
|
||||
struct MSVCRT__heapinfo {
|
||||
|
|
Loading…
Reference in a new issue