From 1b3f83b6196afa283903294add20d05071f1b04a Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 9 Dec 2009 16:25:18 +0500 Subject: util.signal: Make kill() available on Solaris; really fixes #136. --- util-src/lsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-src/lsignal.c b/util-src/lsignal.c index 80799e4a..30975508 100644 --- a/util-src/lsignal.c +++ b/util-src/lsignal.c @@ -348,7 +348,7 @@ static int l_kill(lua_State *L) 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} -- cgit v1.2.3