move widestrs out of system (#20462)
* move widestrs out of system * fix osproc
This commit is contained in:
parent
cbd9fee22a
commit
0b1650576c
29 changed files with 64 additions and 8 deletions
|
|
@ -23,6 +23,9 @@ check errno_t vs cint
|
|||
|
||||
when not defined(windows): discard
|
||||
else:
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/widestrs
|
||||
|
||||
type wchar_t {.importc: "wchar_t".} = int16
|
||||
|
||||
proc setEnvironmentVariableW*(lpName, lpValue: WideCString): int32 {.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue