Add more defined sections for nintendo switch
This commit is contained in:
parent
9b300a5c9c
commit
d3cf79e3e7
5 changed files with 45 additions and 16 deletions
|
|
@ -597,7 +597,7 @@ proc quoteShellPosix*(s: string): string {.noSideEffect, rtl, extern: "nosp$1".}
|
|||
else:
|
||||
return "'" & s.replace("'", "'\"'\"'") & "'"
|
||||
|
||||
when defined(windows) or defined(posix):
|
||||
when defined(windows) or defined(posix) or defined(nintendoswitch):
|
||||
proc quoteShell*(s: string): string {.noSideEffect, rtl, extern: "nosp$1".} =
|
||||
## Quote ``s``, so it can be safely passed to shell.
|
||||
when defined(windows):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue