diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-11-04 13:05:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 13:05:03 +0100 |
commit | 62fc3db9d76658066dd999db63606762993ffeac (patch) | |
tree | 5109dc78f32a5e22d169f05360a210006142b12e | |
parent | bdc2bcc36c2efc1994238d42fae3ceddef10a392 (diff) | |
download | Nim-62fc3db9d76658066dd999db63606762993ffeac.tar.gz |
--os:ios needs to imply defined(macosx) [backport] (#12585)
-rw-r--r-- | compiler/options.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index d3918363e..564eef6ab 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -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": |