diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-24 20:37:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-24 20:37:13 +0000 |
commit | 8a246a4a9ff68ec493147a15ca97a94b7291c834 (patch) | |
tree | da1c83c0a4b5385c898e8b20d2cb01590d9608f4 /lib | |
parent | 2f684351bfd4c02f72a91434437ce2566d4f814b (diff) |
Yang Tse: removes GOPHER protocol when HTTP is disabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.h | 4 |
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 |