make Boehm GC work on Windows

This commit is contained in:
Araq
2019-03-30 00:55:57 +01:00
parent 00f419bcd6
commit caf0552573

View File

@@ -1869,7 +1869,10 @@ when hasThreadSupport and defined(tcc) and not compileOption("tlsEmulation"):
when defined(boehmgc):
when defined(windows):
const boehmLib = "boehmgc.dll"
when sizeof(int) == 8:
const boehmLib = "boehmgc64.dll"
else:
const boehmLib = "boehmgc.dll"
elif defined(macosx):
const boehmLib = "libgc.dylib"
else: