ifdef keep_sigact since its only used when SIGALRM is defined.
This commit is contained in:
		@@ -2118,6 +2118,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
 | 
				
			|||||||
  int rc;
 | 
					  int rc;
 | 
				
			||||||
  bool reuse;
 | 
					  bool reuse;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef SIGALRM
 | 
				
			||||||
#ifdef HAVE_SIGACTION
 | 
					#ifdef HAVE_SIGACTION
 | 
				
			||||||
  struct sigaction keep_sigact;   /* store the old struct here */
 | 
					  struct sigaction keep_sigact;   /* store the old struct here */
 | 
				
			||||||
  bool keep_copysig=FALSE;        /* did copy it? */
 | 
					  bool keep_copysig=FALSE;        /* did copy it? */
 | 
				
			||||||
@@ -2125,6 +2126,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
 | 
				
			|||||||
#ifdef HAVE_SIGNAL
 | 
					#ifdef HAVE_SIGNAL
 | 
				
			||||||
  void *keep_sigact;              /* store the old handler here */
 | 
					  void *keep_sigact;              /* store the old handler here */
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  *addr = NULL; /* nothing yet */
 | 
					  *addr = NULL; /* nothing yet */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user