--os:ios needs to imply defined(macosx) [backport] (#12585)
This commit is contained in:
parent
bdc2bcc36c
commit
62fc3db9d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue