make Boehm GC work on Windows

This commit is contained in:
Araq 2019-03-30 00:55:57 +01:00
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: