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

net.http: fix crash on Windows when using Boehm GC (#14351)

This commit is contained in:
Isaiah
2022-05-10 07:00:55 -04:00
committed by GitHub
parent 940c78bdfd
commit 9e09b709e3
3 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,10 @@
// that can be found in the LICENSE file.
module http
$if gcboehm ? {
#define VSCHANNEL_REALLOC GC_REALLOC
}
#flag windows -I @VEXEROOT/thirdparty/vschannel
#flag -l ws2_32 -l crypt32 -l secur32 -l user32
#include "vschannel.c"