Software /
code /
prosody
Comparison
util-src/lsignal.c @ 1841:0dc1daa94e7f
util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 29 Sep 2009 14:06:43 +0100 |
parent | 988:8cb9a0d59e78 |
child | 2770:716260e3b017 |
comparison
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) |