--- cvsroot/EV/EV.xs 2007/11/02 22:03:00 1.42 +++ 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) {