# HG changeset patch # User jbe # Date 1496694597 -7200 # Node ID 8b8be1a66a986ad5f1c9f35a321fa2017b521462 # Parent 30629973dcff1c6f5bbfea4018b8a70b26ea7bfe SIGINFO not available on Linux diff -r 30629973dcff -r 8b8be1a66a98 moonbridge_io.c --- a/moonbridge_io.c Sun Jun 04 20:12:56 2017 +0200 +++ b/moonbridge_io.c Mon Jun 05 22:29:57 2017 +0200 @@ -2105,7 +2105,9 @@ lua_pushinteger(L, SIGTSTP); lua_setfield(L, -2, "TSTP"); lua_pushinteger(L, SIGCONT); lua_setfield(L, -2, "CONT"); lua_pushinteger(L, SIGVTALRM); lua_setfield(L, -2, "VTALRM"); +#ifdef SIGINFO lua_pushinteger(L, SIGINFO); lua_setfield(L, -2, "INFO"); +#endif lua_pushinteger(L, SIGUSR1); lua_setfield(L, -2, "USR1"); lua_pushinteger(L, SIGUSR2); lua_setfield(L, -2, "USR2"); lua_pushvalue(L, -1);