Fix uname on visionOS by @vincentneo.

This commit is contained in:
levlam 2024-03-12 09:43:49 +03:00
parent 44b42cc659
commit b41f3219dc

View File

@ -81,7 +81,7 @@ Slice get_operating_system_version() {
return "iOS" + os_version;
#elif TD_DARWIN_TV_OS
return "tvOS" + os_version;
#elif TD_DARWIN_VISIOM_OS
#elif TD_DARWIN_VISION_OS
return "visionOS" + os_version;
#elif TD_DARWIN_WATCH_OS
return "watchOS" + os_version;