diff options
Diffstat (limited to 'tests/unit/unit1654.c')
-rw-r--r-- | tests/unit/unit1654.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/unit1654.c b/tests/unit/unit1654.c index 6274d0af8..79f1efe95 100644 --- a/tests/unit/unit1654.c +++ b/tests/unit/unit1654.c @@ -36,11 +36,10 @@ unit_stop(void) curl_global_cleanup(); } -#if defined(CURL_DISABLE_HTTP) || !defined(USE_ALTSVC) +#if defined(CURL_DISABLE_HTTP) || defined(CURL_DISABLE_ALTSVC) UNITTEST_START { - return 0; /* nothing to do when HTTP is disabled or alt-svc support is - missing */ + return 0; /* nothing to do when HTTP or alt-svc is disabled */ } UNITTEST_STOP #else |