--- cvsroot/EV/EV.xs 2010/10/28 04:59:35 1.147 +++ cvsroot/EV/EV.xs 2010/11/28 11:40:41 1.150 @@ -343,7 +343,8 @@ #define CHECK_SIG(sv,num) if ((num) < 0) \ croak ("illegal signal number or name: %s", SvPV_nolen (sv)); -EV_INLINE default_fork (void) +static void +default_fork (void) { ev_loop_fork (EV_DEFAULT_UC); } @@ -759,6 +760,8 @@ OUTPUT: RETVAL +#ifndef EV_NO_LOOPS + ev_embed *embed (struct ev_loop *loop, SV *cb = 0) ALIAS: embed_ns = 1 @@ -775,6 +778,8 @@ OUTPUT: RETVAL +#endif + ev_async *async (SV *cb) ALIAS: async_ns = 1 @@ -1326,6 +1331,8 @@ OUTPUT: RETVAL +#ifndef EV_NO_LOOPS + MODULE = EV PACKAGE = EV::Loop PREFIX = ev_ SV *new (SV *klass, unsigned int flags = 0) @@ -1574,3 +1581,5 @@ newSVsv (cb) ); +#endif +