From 8a246a4a9ff68ec493147a15ca97a94b7291c834 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Nov 2005 20:37:13 +0000 Subject: [PATCH] Yang Tse: removes GOPHER protocol when HTTP is disabled --- lib/setup.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/setup.h b/lib/setup.h index 2c74f51..15c5a12 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 -- 2.7.4