diff options
author | Guenter Knauf <lists@gknw.net> | 2011-01-17 01:27:57 +0100 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2011-01-17 01:27:57 +0100 |
commit | ef46fcdd908a7e8b0835ea63bd22d9c4e8f374a5 (patch) | |
tree | 70bc6cbf787794c9ac53a1e7d220b0efb5cdcdc2 | |
parent | 0243aa9eb091557b32223bedb27926e8483922be (diff) |
Avoid redefines.
-rw-r--r-- | lib/setup.h | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/lib/setup.h b/lib/setup.h index 63f51e4fb..68c09a091 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -162,13 +162,27 @@ */ #ifdef HTTP_ONLY -# define CURL_DISABLE_TFTP -# define CURL_DISABLE_FTP -# define CURL_DISABLE_LDAP -# define CURL_DISABLE_TELNET -# define CURL_DISABLE_DICT -# define CURL_DISABLE_FILE -# define CURL_DISABLE_RTSP +# ifndef CURL_DISABLE_TFTP +# define CURL_DISABLE_TFTP +# endif +# ifndef CURL_DISABLE_FTP +# define CURL_DISABLE_FTP +# endif +# 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 /* |