aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 2c74f5118..15c5a126d 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -310,6 +310,10 @@ typedef int curl_socket_t;
#endif
#endif
+#if defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_GOPHER)
+#define CURL_DISABLE_GOPHER
+#endif
+
#ifdef CURLDEBUG
#define DEBUGF(x) x
#else