--- cvsroot/EV/EV.xs 2007/11/02 20:21:33 1.41 +++ cvsroot/EV/EV.xs 2007/11/02 22:18:49 1.43 @@ -27,6 +27,12 @@ *stash_check, *stash_child; +#ifndef SIG_SIZE +/* kudos to Slaven Rezic for the idea */ +static char sig_size [] = { SIG_NUM }; +# define SIG_SIZE (sizeof (sig_size) + 1) +#endif + static int sv_signum (SV *sig) { @@ -253,6 +259,9 @@ const_iv (EV, METHOD_SELECT) const_iv (EV, METHOD_POLL) const_iv (EV, METHOD_EPOLL) + const_iv (EV, METHOD_KQUEUE) + const_iv (EV, METHOD_DEVPOLL) + const_iv (EV, METHOD_PORT) const_iv (EV, METHOD_ANY) };