branch update for HEAD-2003021201
[reactos.git] / lib / msvcrt / except / matherr.c
1 #include <windows.h>
2 #include <ntos/except.h>
3
4
5 struct _exception {
6     int type;
7     char* name;
8     double arg1;
9     double arg2;
10     double retval;
11 } ;
12
13
14 int _matherr(struct _exception* e)
15 {
16     return 0;
17 }
18
19
20 // not exported by NTDLL
21 void __setusermatherr(int (*handler)(struct _exception*))
22 {
23
24 }
25
26
27 #define _FPIEEE_RECORD void
28
29 int _fpieee_flt(
30         unsigned long exception_code,
31         struct _EXCEPTION_POINTERS* ExceptionPointer,
32         int (*handler)(_FPIEEE_RECORD*)
33         )
34 {
35     return 0;
36 }