commit | 41535eaea9e22f330f9853200140d386b44e809c | [log] [tgz] |
---|---|---|
author | Daniel Stenberg <daniel@haxx.se> | Thu Oct 30 07:32:04 2003 +0000 |
committer | Daniel Stenberg <daniel@haxx.se> | Thu Oct 30 07:32:04 2003 +0000 |
tree | 15dc98f27691d277436aa15531e692d979cdefa1 | |
parent | 02437b2d51d586d6879d4cd3713e6d873395f851 [diff] |
only use siginterrupt() if it really exists on the platform
diff --git a/tests/server/sws.c b/tests/server/sws.c index 8ee2e96..b006c2b 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c
@@ -537,6 +537,8 @@ #ifdef HAVE_SIGNAL signal(SIGPIPE, sigpipe_handler); +#endif +#ifdef HAVE_SIGINTERRUPT siginterrupt(SIGPIPE, 1); #endif