ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.xs
(Generate patch)

Comparing EV/EV.xs (file contents):
Revision 1.54 by root, Tue Nov 6 12:31:20 2007 UTC vs.
Revision 1.55 by root, Tue Nov 6 12:36:25 2007 UTC

16#endif 16#endif
17#undef HAVE_STRTOK_R 17#undef HAVE_STRTOK_R
18#undef strtok_r 18#undef strtok_r
19#define strtok_r fake_strtok_r 19#define strtok_r fake_strtok_r
20#include "evdns.c" 20#include "evdns.c"
21
22#ifndef WIN32
23# include <pthread.h>
24#endif
21 25
22typedef int Signal; 26typedef int Signal;
23 27
24static struct EVAPI evapi; 28static struct EVAPI evapi;
25 29
317 321
318 sv_setiv (sv, (IV)&evapi); 322 sv_setiv (sv, (IV)&evapi);
319 SvREADONLY_on (sv); 323 SvREADONLY_on (sv);
320 } 324 }
321 325
326 #ifndef WIN32
322 pthread_atfork (0, 0, ev_default_fork); 327 pthread_atfork (0, 0, ev_default_fork);
328 #endif
323} 329}
324 330
325NV ev_now () 331NV ev_now ()
326 332
327int ev_method () 333int ev_method ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines