mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Avoid redefines.
This commit is contained in:
parent
0243aa9eb0
commit
ef46fcdd90
28
lib/setup.h
28
lib/setup.h
@ -162,13 +162,27 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HTTP_ONLY
|
#ifdef HTTP_ONLY
|
||||||
# define CURL_DISABLE_TFTP
|
# ifndef CURL_DISABLE_TFTP
|
||||||
# define CURL_DISABLE_FTP
|
# define CURL_DISABLE_TFTP
|
||||||
# define CURL_DISABLE_LDAP
|
# endif
|
||||||
# define CURL_DISABLE_TELNET
|
# ifndef CURL_DISABLE_FTP
|
||||||
# define CURL_DISABLE_DICT
|
# define CURL_DISABLE_FTP
|
||||||
# define CURL_DISABLE_FILE
|
# endif
|
||||||
# define CURL_DISABLE_RTSP
|
# ifndef CURL_DISABLE_LDAP
|
||||||
|
# define CURL_DISABLE_LDAP
|
||||||
|
# endif
|
||||||
|
# ifndef CURL_DISABLE_TELNET
|
||||||
|
# define CURL_DISABLE_TELNET
|
||||||
|
# endif
|
||||||
|
# ifndef CURL_DISABLE_DICT
|
||||||
|
# define CURL_DISABLE_DICT
|
||||||
|
# endif
|
||||||
|
# ifndef CURL_DISABLE_FILE
|
||||||
|
# define CURL_DISABLE_FILE
|
||||||
|
# endif
|
||||||
|
# ifndef CURL_DISABLE_RTSP
|
||||||
|
# define CURL_DISABLE_RTSP
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user