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 /src/checker.cpp | |
| 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 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 625536caa..1821cbd4d 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -1172,7 +1172,7 @@ gb_internal void init_universal(void) { { GlobalEnumValue values[Subtarget_COUNT] = { {"Default", Subtarget_Default}, - {"iOS", Subtarget_iOS}, + {"iPhone", Subtarget_iPhone}, {"iPhoneSimulator", Subtarget_iPhoneSimulator}, {"Android", Subtarget_Android}, }; |