diff options
Diffstat (limited to 'lib/formdata.h')
-rw-r--r-- | lib/formdata.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/formdata.h b/lib/formdata.h index caabb63..af46624 100644 --- a/lib/formdata.h +++ b/lib/formdata.h @@ -26,7 +26,7 @@ #include "curl_setup.h" -#ifndef CURL_DISABLE_MIME +#ifndef CURL_DISABLE_FORM_API /* used by FormAdd for temporary storage */ struct FormInfo { @@ -53,10 +53,7 @@ CURLcode Curl_getformdata(struct Curl_easy *data, curl_mimepart *, struct curl_httppost *post, curl_read_callback fread_func); -#else -/* disabled */ -#define Curl_getformdata(a,b,c,d) CURLE_NOT_BUILT_IN -#endif +#endif /* CURL_DISABLE_FORM_API */ #endif /* HEADER_CURL_FORMDATA_H */ |