aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-09-09 19:11:54 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-09-09 19:11:54 +0000
commitfb8d9b6645a38aee05b4aa459ce931e623a41b50 (patch)
tree2c9d145ec87d26806a05f0395a51cb9831693fbc /lib
parentf7ddb39ee18a62c22022ec84b1f5242f16abe65d (diff)
#ifdef around alarmfunc() to supress warning.
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index e26e47503..3f3852497 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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)