diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-09-29 14:06:43 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-09-29 14:06:43 +0100 |
commit | 5407a9c88dc9ae485e6eb82f5482669b6556253f (patch) | |
tree | b642f2ee69a15ba160f5259cc5670ca6b96fe254 /util-src/lsignal.c | |
parent | 241f825d41c4af2c99b5a56388bd2fe21f1098e6 (diff) | |
download | prosody-5407a9c88dc9ae485e6eb82f5482669b6556253f.tar.gz prosody-5407a9c88dc9ae485e6eb82f5482669b6556253f.zip |
util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip)
Diffstat (limited to 'util-src/lsignal.c')
-rw-r--r-- | util-src/lsignal.c | 2 |
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 */ |