diff options
author | Gunter Knauf <gk@gknw.de> | 2004-07-10 23:11:22 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2004-07-10 23:11:22 +0000 |
commit | 03cb3b9db10831ff76133df15722cc9c8878ae99 (patch) | |
tree | 6bbf0d2a467b789bc8046b9d35bce19aeba9833f /lib | |
parent | 19ad94273946a90ca2c9d6fd950b11482f00d2a5 (diff) |
ifdef keep_sigact since its only used when SIGALRM is defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2118,6 +2118,7 @@ static CURLcode CreateConnection(struct SessionHandle *data, int rc; bool reuse; +#ifdef SIGALRM #ifdef HAVE_SIGACTION struct sigaction keep_sigact; /* store the old struct here */ bool keep_copysig=FALSE; /* did copy it? */ @@ -2126,6 +2127,7 @@ static CURLcode CreateConnection(struct SessionHandle *data, void *keep_sigact; /* store the old handler here */ #endif #endif +#endif *addr = NULL; /* nothing yet */ *async = FALSE; |