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:
parent
246c09db96
commit
5873149c77
@ -2,6 +2,11 @@ module builtin
|
||||
|
||||
#define GC_THREADS 1
|
||||
|
||||
$if windows {
|
||||
#flag -I@VROOT/thirdparty/libgc/include
|
||||
#flag -L@VROOT/thirdparty/libgc
|
||||
}
|
||||
|
||||
#include <gc.h>
|
||||
|
||||
#flag -lgc
|
||||
|
Loading…
Reference in New Issue
Block a user