diff --git a/tests/unit/unit1636.c b/tests/unit/unit1636.c index cb50879efe..adb048a872 100644 --- a/tests/unit/unit1636.c +++ b/tests/unit/unit1636.c @@ -23,6 +23,7 @@ ***************************************************************************/ #include "unitcheck.h" +#ifndef CURL_DISABLE_PROGRESS_METER static CURLcode test_unit1636(const char *arg) { UNITTEST_BEGIN_SIMPLE @@ -71,3 +72,11 @@ static CURLcode test_unit1636(const char *arg) } UNITTEST_END(curl_global_cleanup()) } + +#else /* CURL_DISABLE_PROGRESS_METER */ +static CURLcode test_unit1636(const char *arg) +{ + (void)arg; + return CURLE_OK; +} +#endif