aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-29 14:06:43 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-29 14:06:43 +0100
commit5407a9c88dc9ae485e6eb82f5482669b6556253f (patch)
treeb642f2ee69a15ba160f5259cc5670ca6b96fe254
parent241f825d41c4af2c99b5a56388bd2fe21f1098e6 (diff)
downloadprosody-5407a9c88dc9ae485e6eb82f5482669b6556253f.tar.gz
prosody-5407a9c88dc9ae485e6eb82f5482669b6556253f.zip
util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip)
-rw-r--r--util-src/lsignal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/lsignal.c b/util-src/lsignal.c
index 158efcd6..80799e4a 100644
--- a/util-src/lsignal.c
+++ b/util-src/lsignal.c
@@ -301,7 +301,7 @@ static int l_raise(lua_State *L)
return 1;
}
-#ifdef _POSIX_SOURCE
+#if defined _POSIX_SOURCE || (defined(sun) || defined(__sun))
/* define some posix only functions */