mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
curl: ignore SIGPIPE - compilation fix - follow-up
This commit is contained in:
parent
308cce8231
commit
a7db42e4f0
@ -87,7 +87,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
main_checkfds();
|
main_checkfds();
|
||||||
|
|
||||||
#ifdef SIGPIPE
|
#if defined(HAVE_SIGNAL) && defined(SIGPIPE)
|
||||||
(void)signal(SIGPIPE, SIG_IGN);
|
(void)signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user