Make nintendoswitch == posix

This commit is contained in:
Joey Yakimowich-Payne 2018-06-23 16:03:07 +09:00
commit cd42369dce
3 changed files with 14 additions and 14 deletions

View file

@ -345,7 +345,7 @@ proc isDefined*(conf: ConfigRef; symbol: string): bool =
osQnx, osAtari, osAix,
osHaiku, osVxWorks, osSolaris, osNetbsd,
osFreebsd, osOpenbsd, osDragonfly, osMacosx,
osAndroid}
osAndroid, osNintendoSwitch}
of "linux":
result = conf.target.targetOS in {osLinux, osAndroid}
of "bsd":