Skip to content
Snippets Groups Projects
Commit fb8d9b66 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

#ifdef around alarmfunc() to supress warning.

parent f7ddb39e
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,8 @@ static void conn_free(struct connectdata *conn);
#ifdef HAVE_SIGSETJMP
extern sigjmp_buf curl_jmpenv;
#endif
#ifdef SIGALARM
static
RETSIGTYPE alarmfunc(int sig)
{
......@@ -183,6 +185,7 @@ RETSIGTYPE alarmfunc(int sig)
return;
}
#endif
#endif /* SIGALRM */
#endif /* USE_ARES */
void Curl_safefree(void *ptr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment