summaryrefslogtreecommitdiff
path: root/lib/mime.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-16 23:25:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-18 08:08:41 +0200
commitac58c51b297466e248c2c1201c2c6c895c477a11 (patch)
tree64cc1d46850e3433cf1d908f7ffb033e90efcbc2 /lib/mime.c
parentbeb435091793ceebf5e0b7502b17f785c051b3f7 (diff)
downloadcurl-ac58c51b297466e248c2c1201c2c6c895c477a11.tar.gz
mime: when disabled, avoid C99 macro
Closes #4368
Diffstat (limited to 'lib/mime.c')
-rw-r--r--lib/mime.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mime.c b/lib/mime.c
index 2135f72c2..0fb3ae81c 100644
--- a/lib/mime.c
+++ b/lib/mime.c
@@ -1901,4 +1901,11 @@ CURLcode curl_mime_headers(curl_mimepart *part,
return CURLE_NOT_BUILT_IN;
}
+CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...)
+{
+ (void)slp;
+ (void)fmt;
+ return CURLE_NOT_BUILT_IN;
+}
+
#endif /* if disabled */