summary refs log tree commit diff stats
path: root/lib/std/cmdline.nim
diff options
context:
space:
mode:
authortersec <tersec@users.noreply.github.com>2023-03-02 04:51:54 +0000
committerGitHub <noreply@github.com>2023-03-02 05:51:54 +0100
commit612abda4f40b2a0fd8dd0e4ad119c4415b9c34cb (patch)
tree95d1775f1dcf07968f6de5ac1a2432b657d9e97e /lib/std/cmdline.nim
parent9b5ae2b2eb2ba5aca219de109b03f1bb5637a777 (diff)
downloadNim-612abda4f40b2a0fd8dd0e4ad119c4415b9c34cb.tar.gz
remove decades-deprecated Win32 API *A function support (#21315)
Diffstat (limited to 'lib/std/cmdline.nim')
-rw-r--r--lib/std/cmdline.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/cmdline.nim b/lib/std/cmdline.nim
index 3208da1b8..6788dacde 100644
--- a/lib/std/cmdline.nim
+++ b/lib/std/cmdline.nim
@@ -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] {.