move widestrs out of system (#20462)

* move widestrs out of system

* fix osproc
This commit is contained in:
metagn 2022-10-01 23:35:09 +03:00 • committed by GitHub
commit 0b1650576c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 64 additions and 8 deletions

View file

@ -11,6 +11,9 @@
import winlean, os
when defined(nimPreviewSlimSystem):
import std/widestrs
type
HKEY* = uint

View file

@ -19,6 +19,7 @@ when defined(nimHasStyleChecks):
when defined(nimPreviewSlimSystem):
from std/syncio import FileHandle
import std/widestrs
const
useWinUnicode* = not defined(useWinAnsi)