make koch and tools work with nimPreviewSlimSystem (#20459)
This commit is contained in:
parent
716d68cb24
commit
3e43ea3384
8 changed files with 28 additions and 4 deletions
|
|
@ -12,7 +12,10 @@
|
|||
# The second one is more portable, and less semantically correct. It only works
|
||||
# when there's a backing C compiler available as well, preventing standalone
|
||||
# compilation.
|
||||
import os, strutils
|
||||
import std/[os, strutils]
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/syncio
|
||||
|
||||
when defined(openbsd) or defined(freebsd) or defined(netbsd):
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue