#if defined(HOST_WINDOWS) || defined(HOST_WIN32)
const ep_char8_t* _ep_os_info = "Windows";
+#elif defined(HOST_TVOS)
+const ep_char8_t* _ep_os_info = "tvOS";
#elif defined(HOST_IOS)
const ep_char8_t* _ep_os_info = "iOS";
#elif defined(HOST_WATCHOS)
const ep_char8_t* _ep_os_info = "WatchOS";
-#elif defined(HOST_TVOS)
-const ep_char8_t* _ep_os_info = "tvOS";
#elif defined(__APPLE__)
const ep_char8_t* _ep_os_info = "macOS";
#elif defined(HOST_ANDROID)
{
expectedOSValue = "Android";
}
- else if (OperatingSystem.IsIOS() || OperatingSystem.IsTvOS())
+ else if (OperatingSystem.IsIOS())
{
expectedOSValue = "iOS";
}
+ else if (OperatingSystem.IsTvOS())
+ {
+ expectedOSValue = "tvOS";
+ }
else
{
expectedOSValue = "Unknown";
{
expectedOSValue = "Android";
}
- else if (OperatingSystem.IsIOS() || OperatingSystem.IsTvOS())
+ else if (OperatingSystem.IsIOS())
{
expectedOSValue = "iOS";
}
+ else if (OperatingSystem.IsTvOS())
+ {
+ expectedOSValue = "tvOS";
+ }
else
{
expectedOSValue = "Unknown";
{
expectedOSValue = "Android";
}
- else if (OperatingSystem.IsIOS() || OperatingSystem.IsTvOS())
+ else if (OperatingSystem.IsIOS())
{
expectedOSValue = "iOS";
}
+ else if (OperatingSystem.IsTvOS())
+ {
+ expectedOSValue = "tvOS";
+ }
else
{
expectedOSValue = "Unknown";