added disable-[protocol] support, largely provided by Miklos Nemeth

This commit is contained in:
Daniel Stenberg
2002-06-11 11:13:01 +00:00
parent 8c45e2a641
commit 08ef208fb7
19 changed files with 127 additions and 10 deletions

View File

@@ -23,7 +23,17 @@
* $Id$
*****************************************************************************/
/* MN 06/07/02 */
/* #define HTTP_ONLY
*/
#ifdef HTTP_ONLY
#define CURL_DISABLE_FTP
#define CURL_DISABLE_LDAP
#define CURL_DISABLE_TELNET
#define CURL_DISABLE_DICT
#define CURL_DISABLE_FILE
#define CURL_DISABLE_GOPHER
#endif
#if !defined(WIN32) && defined(_WIN32)
/* This _might_ be a good Borland fix. Please report whether this works or