Skip to content

Commit 8487da6

Browse files
committed
feature guard CURLOPT_MIMEPOST
1 parent 770cffc commit 8487da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

curl-sys/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,6 @@ pub const CURLOPT_PROXY_SSL_OPTIONS: CURLoption = CURLOPTTYPE_LONG + 261;
609609

610610
pub const CURLOPT_ABSTRACT_UNIX_SOCKET: CURLoption = CURLOPTTYPE_OBJECTPOINT + 264;
611611

612-
pub const CURLOPT_MIMEPOST: CURLoption = CURLOPTTYPE_OBJECTPOINT + 269;
613-
614612
pub const CURLOPT_DOH_URL: CURLoption = CURLOPTTYPE_OBJECTPOINT + 279;
615613
pub const CURLOPT_UPLOAD_BUFFERSIZE: CURLoption = CURLOPTTYPE_LONG + 280;
616614

@@ -1173,6 +1171,8 @@ extern "C" {
11731171
mod mime {
11741172
use super::*;
11751173

1174+
pub const CURLOPT_MIMEPOST: CURLoption = CURLOPTTYPE_OBJECTPOINT + 269;
1175+
11761176
pub enum curl_mime {}
11771177
pub enum curl_mimepart {}
11781178

0 commit comments

Comments
 (0)