1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Daniel Stenberg 2003-10-30 07:32:04 +00:00
parent 02437b2d51
commit 41535eaea9

View File

@ -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