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:
@ -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"
|
||||
|
Reference in New Issue
Block a user