remove decades-deprecated Win32 API *A function support (#21315)
This commit is contained in:
parent
9b5ae2b2eb
commit
612abda4f4
13 changed files with 173 additions and 414 deletions
|
|
@ -40,10 +40,7 @@ else:
|
|||
# Needed by windows in order to obtain the command line for targets
|
||||
# other than command line targets
|
||||
when defined(windows) and not weirdTarget:
|
||||
when useWinUnicode:
|
||||
template getCommandLine*(): untyped = getCommandLineW()
|
||||
else:
|
||||
template getCommandLine*(): untyped = getCommandLineA()
|
||||
template getCommandLine*(): untyped = getCommandLineW()
|
||||
|
||||
|
||||
proc parseCmdLine*(c: string): seq[string] {.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue