This website requires JavaScript.
Explore
Help
Sign In
openkylin
/
make-it-quick
mirror of
https://gitee.com/openkylin/make-it-quick.git
Watch
9
Star
0
Fork
You've already forked make-it-quick
0
Code
Issues
Projects
Releases
Wiki
Activity
v0.2
Branches
Tags
No results found.
make-it-quick
/
config
/
check_sigaction.c
9 lines
111 B
C
Raw
Permalink
Normal View
History
Unescape
Escape
Add check for the 'sigaction' function This check is easier to get in autoconf than a test for struct sigaction. It's also more complete, since the recorder actually needs the function.
2018-04-13 21:19:18 +08:00
#
include
<signal.h>
int
main
(
)
{
struct
sigaction
sa
;
Avoid possibly undefined NULL
2018-06-01 21:26:37 +08:00
sigaction
(
11
,
&
sa
,
(
void
*
)
0
)
;
Add check for the 'sigaction' function This check is easier to get in autoconf than a test for struct sigaction. It's also more complete, since the recorder actually needs the function.
2018-04-13 21:19:18 +08:00
return
0
;
}