mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:37:16 +03:00
ifdef keep_sigact since its only used when SIGALRM is defined.
This commit is contained in:
parent
19ad942739
commit
03cb3b9db1
1 changed files with 2 additions and 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? */
|
||||
|
|
@ -2125,6 +2126,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
#ifdef HAVE_SIGNAL
|
||||
void *keep_sigact; /* store the old handler here */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
*addr = NULL; /* nothing yet */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue