1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net: fix windows headers

This commit is contained in:
Alexander Medvednikov 2020-06-10 11:24:34 +02:00
parent 2ed4457c5f
commit c261ac4f46
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ module http
#flag -l Urlmon #flag -l Urlmon
#include <Urlmon.h> #include <urlmon.h>
fn download_file_with_progress(url, out string, cb, cb_finished voidptr) { fn download_file_with_progress(url, out string, cb, cb_finished voidptr) {
} }

View File

@ -2,7 +2,7 @@ module net
#flag -lws2_32 #flag -lws2_32
#include <winsock2.h> #include <winsock2.h>
#include <Ws2tcpip.h> #include <ws2tcpip.h>
struct C.WSAData { struct C.WSAData {
mut: mut: