diff options
| author | Harold Brenes <harold@hbrenes.com> | 2025-07-14 21:55:28 -0400 |
|---|---|---|
| committer | Harold Brenes <harold@hbrenes.com> | 2025-07-14 21:55:28 -0400 |
| commit | bab4ce11fc1d52e2a63ed950fcf3cb0510cbe642 (patch) | |
| tree | a217ccedae7c347449d47b58711266d97b41001a /base/builtin | |
| parent | 67c90b5d9e321910632716a2ebb0bb97964020b1 (diff) | |
Rename `iOS` subtarget to `iPhone` for consistency.
Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to
`true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
Diffstat (limited to 'base/builtin')
| -rw-r--r-- | base/builtin/builtin.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/builtin/builtin.odin b/base/builtin/builtin.odin index af102ee0b..2dd214321 100644 --- a/base/builtin/builtin.odin +++ b/base/builtin/builtin.odin @@ -145,7 +145,7 @@ ODIN_OS_STRING :: ODIN_OS_STRING /* An `enum` value indicating the platform subtarget, chosen using the `-subtarget` switch. - Possible values are: `.Default` `.iOS`, .iPhoneSimulator, and `.Android`. + Possible values are: `.Default` `.iPhone`, .iPhoneSimulator, and `.Android`. */ ODIN_PLATFORM_SUBTARGET :: ODIN_PLATFORM_SUBTARGET |