From 7294e70480b72b9b351f44528aa70684f735ad08 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Sun, 11 Mar 2018 20:30:02 +0100 Subject: Curl_range: fix FTP-only and FILE-only builds follow-up to e04417d --- lib/curl_range.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/curl_range.c') diff --git a/lib/curl_range.c b/lib/curl_range.c index 849e12fd3..aa3c49332 100644 --- a/lib/curl_range.c +++ b/lib/curl_range.c @@ -27,7 +27,7 @@ #include "strtoofft.h" /* Only include this function if one or more of FTP, FILE are enabled. */ -#if !defined(CURL_DISABLE_FTP) && !defined(CURL_DISABLE_FILE) +#if !defined(CURL_DISABLE_FTP) || !defined(CURL_DISABLE_FILE) /* Check if this is a range download, and if so, set the internal variables -- cgit v1.2.1