diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-08-25 19:10:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-08-25 19:10:02 +0200 |
commit | 817ceb09e0a8f0754e81ccc592ad919125bc7908 (patch) | |
tree | 3aea65768ad26c70f5ce19d3cf540772f9617326 /lib/easy.c | |
parent | 1a911f7ec4a31a88a6521192a7faceca50a87ab1 (diff) | |
download | curl-817ceb09e0a8f0754e81ccc592ad919125bc7908.tar.gz |
easy: define away easy_events() for non-debug builds
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |