Skip to content

Commit

Permalink
--os:ios needs to imply defined(macosx) [backport] (nim-lang#12585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Nov 4, 2019
1 parent bdc2bcc commit 62fc3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/options.nim
Expand Up @@ -415,7 +415,7 @@ proc isDefined*(conf: ConfigRef; symbol: string): bool =
of "mswindows", "win32": result = conf.target.targetOS == osWindows
of "macintosh":
result = conf.target.targetOS in {osMacos, osMacosx, osIos}
of "osx":
of "osx", "macosx":
result = conf.target.targetOS in {osMacosx, osIos}
of "sunos": result = conf.target.targetOS == osSolaris
of "nintendoswitch":
Expand Down

0 comments on commit 62fc3db

Please sign in to comment.