summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/curl_range.c2
1 files changed, 1 insertions, 1 deletions
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