make Boehm GC work on Windows
This commit is contained in:
parent
00f419bcd6
commit
caf0552573
1 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue