util-src/lsignal.c

changeset 1841
0dc1daa94e7f
parent 988
8cb9a0d59e78
child 2770
716260e3b017
equal deleted inserted replaced
1840:0bca03aaa845 1841:0dc1daa94e7f
299 luaL_checknumber(L, 1); /* will always error, with good error msg */ 299 luaL_checknumber(L, 1); /* will always error, with good error msg */
300 300
301 return 1; 301 return 1;
302 } 302 }
303 303
304 #ifdef _POSIX_SOURCE 304 #if defined _POSIX_SOURCE || (defined(sun) || defined(__sun))
305 305
306 /* define some posix only functions */ 306 /* define some posix only functions */
307 307
308 /* 308 /*
309 * l_kill == kill(pid, signal) 309 * l_kill == kill(pid, signal)

mercurial