Skip to content

Commit

Permalink
cleanup flags in curl/lib.v
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent 3a7433d commit 0ec97d6
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions curl/lib.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ import instructions
import state

#flag -I@VMODROOT/curl/libcurl/include
#flag @VMODROOT/curl/libcurl/bin/libcurl-x64.dll
#flag windows @VMODROOT/curl/libcurl/bin/libcurl-x64.dll
$if !windows {
#flag -L@VMODROOT/curl/libcurl
#flag -lcurl
}
#include "curl/curl.h"

// $if !windows {
// #flag -L@VMODROOT/curl/libcurl
// #flag -lcurl
// }
//
// #flag -lcurl
// #include <curl/curl.h>

pub type Handle = C.CURL

pub type LinkedList = C.curl_slist
Expand Down

0 comments on commit 0ec97d6

Please sign in to comment.