Skip to content
Snippets Groups Projects
Commit 41535eae authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

only use siginterrupt() if it really exists on the platform

parent 02437b2d
No related branches found
No related tags found
No related merge requests found
......@@ -537,6 +537,8 @@ int main(int argc, char *argv[])
#ifdef HAVE_SIGNAL
signal(SIGPIPE, sigpipe_handler);
#endif
#ifdef HAVE_SIGINTERRUPT
siginterrupt(SIGPIPE, 1);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment