mirror of
https://github.com/curl/curl.git
synced 2026-07-28 04:53:08 +03:00
added disable-[protocol] support, largely provided by Miklos Nemeth
This commit is contained in:
parent
8c45e2a641
commit
08ef208fb7
19 changed files with 127 additions and 10 deletions
12
lib/setup.h
12
lib/setup.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue