… | |
… | |
37 | * either the BSD or the GPL. |
37 | * either the BSD or the GPL. |
38 | */ |
38 | */ |
39 | |
39 | |
40 | #ifdef _WIN32 |
40 | #ifdef _WIN32 |
41 | |
41 | |
|
|
42 | /* timeb.h is actually xsi legacy functionality */ |
42 | #include <sys/timeb.h> |
43 | #include <sys/timeb.h> |
43 | |
44 | |
44 | /* note: the comment below could not be substantiated, but what would I care */ |
45 | /* note: the comment below could not be substantiated, but what would I care */ |
45 | /* MSDN says this is required to handle SIGFPE */ |
46 | /* MSDN says this is required to handle SIGFPE */ |
|
|
47 | /* my wild guess would be that using something floating-pointy is required */ |
|
|
48 | /* for the crt to do something about it */ |
46 | volatile double SIGFPE_REQ = 0.0f; |
49 | volatile double SIGFPE_REQ = 0.0f; |
47 | |
50 | |
48 | /* oh, the humanity! */ |
51 | /* oh, the humanity! */ |
49 | static int |
52 | static int |
50 | ev_pipe (int filedes [2]) |
53 | ev_pipe (int filedes [2]) |