Skip to content

Commit 364c317

Browse files
committed
remove watchOS as it is not supported yet
1 parent 0bf2ef6 commit 364c317

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

include/aws/common/system_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ AWS_PUSH_SANE_WARNING_LEVEL
1919
* - AWS_PLATFORM_OS_MAC → "macOS" (Apple desktop/laptop)
2020
* - AWS_PLATFORM_OS_IOS → "iOS" (Apple mobile devices)
2121
* - AWS_PLATFORM_OS_TVOS → "tvOS" (Apple TV devices)
22-
* - AWS_PLATFORM_OS_WATCHOS → "watchOS" (Apple Watch devices)
2322
* - AWS_PLATFORM_OS_ANDROID → "Android" (Android)
2423
* - AWS_PLATFORM_OS_BSD → "BSD" (FreeBSD, NetBSD, openBSD)
2524
* - AWS_PLATFORM_OS_UNIX → "Unix" (Linux, other Unix-like)
@@ -29,7 +28,6 @@ enum aws_platform_os {
2928
AWS_PLATFORM_OS_MAC,
3029
AWS_PLATFORM_OS_IOS,
3130
AWS_PLATFORM_OS_TVOS,
32-
AWS_PLATFORM_OS_WATCHOS,
3331
AWS_PLATFORM_OS_ANDROID,
3432
AWS_PLATFORM_OS_BSD,
3533
AWS_PLATFORM_OS_UNIX,

source/posix/system_info.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,6 @@ enum aws_platform_os aws_get_platform_build_os(void) {
472472
return AWS_PLATFORM_OS_IOS;
473473
#elif defined(AWS_OS_TVOS)
474474
return AWS_PLATFORM_OS_TVOS;
475-
#elif defined(AWS_OS_WATCHOS)
476-
return AWS_PLATFORM_OS_WATCHOS;
477475
#elif defined(AWS_OS_ANDROID)
478476
return AWS_PLATFORM_OS_ANDROID;
479477
#elif defined(AWS_OS_BSD)

source/system_info.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ struct aws_byte_cursor aws_get_platform_build_os_string(void) {
105105
case AWS_PLATFORM_OS_TVOS:
106106
os_str = aws_byte_cursor_from_c_str("tvOS");
107107
break;
108-
case AWS_PLATFORM_OS_WATCHOS:
109-
os_str = aws_byte_cursor_from_c_str("watchOS");
110-
break;
111108
case AWS_PLATFORM_OS_ANDROID:
112109
os_str = aws_byte_cursor_from_c_str("Android");
113110
break;

tests/system_info_tests.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ static int s_test_platform_build_os_fn(struct aws_allocator *allocator, void *ct
122122
ASSERT_INT_EQUALS(build_os, AWS_PLATFORM_OS_IOS);
123123
#elif defined(AWS_OS_TVOS)
124124
ASSERT_INT_EQUALS(build_os, AWS_PLATFORM_OS_TVOS);
125-
#elif defined(AWS_OS_WATCHOS)
126-
ASSERT_INT_EQUALS(build_os, AWS_PLATFORM_OS_WATCHOS);
127125
#elif defined(AWS_OS_ANDROID)
128126
ASSERT_INT_EQUALS(build_os, AWS_PLATFORM_OS_ANDROID);
129127
#elif defined(_WIN32)

0 commit comments

Comments
 (0)