Fix: nintendoswitch compilation (#21368)

* Fix: make nintendoswitch someGcc, remove symlink support for nintendoswitch, add getAppFilename for nintendoswitch

* Fix: use getApplHeuristic on nintendoswitch
This commit is contained in:
Dmitry Arkhipenko
2023-02-25 13:47:19 +03:00
committed by GitHub
parent d4782c9e42
commit b2edfe7a02
4 changed files with 11 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ proc expandSymlink*(symlinkPath: string): string {.noWeirdTarget.} =
##
## See also:
## * `createSymlink proc`_
when defined(windows):
when defined(windows) or defined(nintendoswitch):
result = symlinkPath
else:
result = newString(maxSymlinkLen)