From 817ceb09e0a8f0754e81ccc592ad919125bc7908 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Aug 2013 19:10:02 +0200 Subject: easy: define away easy_events() for non-debug builds --- lib/easy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index 2ac92a2f6..b7507019b 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -712,6 +712,9 @@ static CURLcode easy_events(CURLM *multi) return wait_or_timeout(multi, &evs); } +#else /* CURLDEBUG */ +/* when not built with debug, this function doesn't exist */ +#define easy_events(x) CURLE_NOT_BUILT_IN #endif static CURLcode easy_transfer(CURLM *multi) -- cgit v1.2.3