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

builtin: allow libgc to be used on windows as well (#9393)

This commit is contained in:
spaceface 2021-03-21 01:01:21 +01:00 committed by GitHub
parent 246c09db96
commit 5873149c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,11 @@ module builtin
#define GC_THREADS 1 #define GC_THREADS 1
$if windows {
#flag -I@VROOT/thirdparty/libgc/include
#flag -L@VROOT/thirdparty/libgc
}
#include <gc.h> #include <gc.h>
#flag -lgc #flag -lgc