Software /
code /
prosody
Changeset
2770:716260e3b017
util.signal: Make kill() available on Solaris; really fixes #136.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 09 Dec 2009 16:25:18 +0500 |
parents | 2769:826f6fb7036d |
children | 2771:c9834f338a4e |
files | util-src/lsignal.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/lsignal.c Mon Dec 07 18:32:06 2009 +0000 +++ b/util-src/lsignal.c Wed Dec 09 16:25:18 2009 +0500 @@ -348,7 +348,7 @@ static const struct luaL_Reg lsignal_lib[] = { {"signal", l_signal}, {"raise", l_raise}, -#ifdef _POSIX_SOURCE +#if defined _POSIX_SOURCE || (defined(sun) || defined(__sun)) {"kill", l_kill}, #endif {NULL, NULL}