Comparison

util-src/signal.c @ 7973:703f7f45feb4

util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desired effect before glibc 2.19
author Kim Alvefur <zash@zash.se>
date Sun, 12 Mar 2017 12:49:34 +0100
parent 7971:cd6f88012f67
child 8414:7ea3311ca632
comparison
equal deleted inserted replaced
7971:cd6f88012f67 7973:703f7f45feb4
24 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
25 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 25 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
26 * OTHER DEALINGS IN THE SOFTWARE. 26 * OTHER DEALINGS IN THE SOFTWARE.
27 */ 27 */
28 28
29 #define _DEFAULT_SOURCE 29 #define _GNU_SOURCE
30 30
31 #include <signal.h> 31 #include <signal.h>
32 #include <stdlib.h> 32 #include <stdlib.h>
33 33
34 #include "lua.h" 34 #include "lua.h"