diff options
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index b468c23a4..c0f32961b 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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: |