Fix uname on visionOS by @vincentneo.
This commit is contained in:
parent
44b42cc659
commit
b41f3219dc
@ -81,7 +81,7 @@ Slice get_operating_system_version() {
|
|||||||
return "iOS" + os_version;
|
return "iOS" + os_version;
|
||||||
#elif TD_DARWIN_TV_OS
|
#elif TD_DARWIN_TV_OS
|
||||||
return "tvOS" + os_version;
|
return "tvOS" + os_version;
|
||||||
#elif TD_DARWIN_VISIOM_OS
|
#elif TD_DARWIN_VISION_OS
|
||||||
return "visionOS" + os_version;
|
return "visionOS" + os_version;
|
||||||
#elif TD_DARWIN_WATCH_OS
|
#elif TD_DARWIN_WATCH_OS
|
||||||
return "watchOS" + os_version;
|
return "watchOS" + os_version;
|
||||||
|
Loading…
Reference in New Issue
Block a user