Jamal Hadi Salim
jhs at mojatatu.com
Fri Mar 20 19:28:02 CET 2015
clang with c11 enforcement (clang -Wall -g -O -std=c11) pukes on:
./ev.c:3814:26: error: use of undeclared identifier 'SIG_UNBLOCK'
sigprocmask (SIG_UNBLOCK, &sa.sa_mask, 0);
(slightly dated ev.c - but inspecting the latest tree, same issue there)
looking at the man pages for sigprocmask on linux:
sigprocmask() requires one of:
_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE
It is trivial to pick one of the above and #define in ev.c but i dont
want to diverge on a private tree.
Is there some compile option perhaps i should be passing to make this go
More information about the libev