summaryrefslogtreecommitdiff
path: root/external/curl/curl-msvc-disable-protocols.patch.1
blob: 38ff5ccb5ac0cffeb8bc13b39669bbdb071fb436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
disable protocols nobody needs in MSVC build

--- curl/lib/config-win32.h.orig	2017-08-09 16:43:29.464000000 +0200
+++ curl/lib/config-win32.h	2017-08-09 16:47:38.549200000 +0200
@@ -733,4 +733,19 @@
 #  define ENABLE_IPV6 1
 #endif
 
+#define CURL_DISABLE_DICT 1
+#define CURL_DISABLE_FILE 1
+//#undef CURL_DISABLE_FTP
+#define CURL_DISABLE_GOPHER 1
+//#undef CURL_DISABLE_HTTP
+#define CURL_DISABLE_IMAP 1
+#define CURL_DISABLE_LDAP 1
+#define CURL_DISABLE_LDAPS 1
+#define CURL_DISABLE_POP3 1
+#define CURL_DISABLE_RTSP 1
+#define CURL_DISABLE_SMB 1
+#define CURL_DISABLE_SMTP 1
+#define CURL_DISABLE_TELNET 1
+#define CURL_DISABLE_TFTP 1
+
 #endif /* HEADER_CURL_CONFIG_WIN32_H */