Skip to content

Commit

Permalink
Fix check for Nintendo Switch target
Browse files Browse the repository at this point in the history
  • Loading branch information
PMunch committed Jan 27, 2025
1 parent 8c3e62e commit 16b3622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/os.nim
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ when supportedSystem:
for ext in extensions:
var x = addFileExt(x, ext)
if fileExists(x):
when defined(posix): #not (defined(windows) or defined(nintendoswitch)):
when defined(posix) and not defined(nintendoswitch):
while followSymlinks: # doubles as if here
if x.symlinkExists:
var r = newString(maxSymlinkLen)
Expand Down

0 comments on commit 16b3622

Please sign in to comment.