moonbridge
changeset 272:8b8be1a66a98
SIGINFO not available on Linux
author | jbe |
---|---|
date | Mon Jun 05 22:29:57 2017 +0200 (2017-06-05) |
parents | 30629973dcff |
children | 928473f7df96 |
files | moonbridge_io.c |
line diff
1.1 --- a/moonbridge_io.c Sun Jun 04 20:12:56 2017 +0200 1.2 +++ b/moonbridge_io.c Mon Jun 05 22:29:57 2017 +0200 1.3 @@ -2105,7 +2105,9 @@ 1.4 lua_pushinteger(L, SIGTSTP); lua_setfield(L, -2, "TSTP"); 1.5 lua_pushinteger(L, SIGCONT); lua_setfield(L, -2, "CONT"); 1.6 lua_pushinteger(L, SIGVTALRM); lua_setfield(L, -2, "VTALRM"); 1.7 +#ifdef SIGINFO 1.8 lua_pushinteger(L, SIGINFO); lua_setfield(L, -2, "INFO"); 1.9 +#endif 1.10 lua_pushinteger(L, SIGUSR1); lua_setfield(L, -2, "USR1"); 1.11 lua_pushinteger(L, SIGUSR2); lua_setfield(L, -2, "USR2"); 1.12 lua_pushvalue(L, -1);