… | |
… | |
3 | #include "XSUB.h" |
3 | #include "XSUB.h" |
4 | |
4 | |
5 | /*#include <netinet/in.h>*/ |
5 | /*#include <netinet/in.h>*/ |
6 | |
6 | |
7 | #define EV_PROTOTYPES 1 |
7 | #define EV_PROTOTYPES 1 |
|
|
8 | #define EV_H <ev.h> |
8 | #include "EV/EVAPI.h" |
9 | #include "EV/EVAPI.h" |
9 | |
10 | |
10 | /* fix perl api breakage */ |
11 | /* fix perl api breakage */ |
11 | #undef signal |
12 | #undef signal |
12 | #undef sigaction |
13 | #undef sigaction |
… | |
… | |
17 | # define NFDBITS PERL_NFDBITS |
18 | # define NFDBITS PERL_NFDBITS |
18 | # define fd_mask Perl_fd_mask |
19 | # define fd_mask Perl_fd_mask |
19 | #endif |
20 | #endif |
20 | /* due to bugs in OS X we have to use libev/ explicitly here */ |
21 | /* due to bugs in OS X we have to use libev/ explicitly here */ |
21 | #include "libev/ev.c" |
22 | #include "libev/ev.c" |
22 | #include "event.c" |
|
|
23 | |
23 | |
24 | #ifndef _WIN32 |
24 | #ifndef _WIN32 |
25 | # include <pthread.h> |
25 | # include <pthread.h> |
26 | #endif |
26 | #endif |
27 | |
27 | |