Skip to content

Commit c008a55

Browse files
committed
remove aws_os_apple
1 parent b1185bf commit c008a55

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

source/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ int aws_http_client_connect_internal(
10581058
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
10591059
}
10601060

1061-
#if defined(AWS_USE_SECITEM) && defined(AWS_OS_APPLE)
1061+
#if defined(AWS_USE_SECITEM)
10621062
if (proxy_request_transform) {
10631063
AWS_LOGF_ERROR(AWS_LS_HTTP_PROXY_NEGOTIATION, "HTTP proxy is not supported on Apple Network Framework.");
10641064
return aws_raise_error(AWS_ERROR_PLATFORM_NOT_SUPPORTED);

source/proxy_connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ int aws_http_options_validate_proxy_configuration(const struct aws_http_client_c
15651565
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
15661566
}
15671567

1568-
#if defined(AWS_USE_SECITEM) && defined(AWS_OS_APPLE)
1568+
#if defined(AWS_USE_SECITEM)
15691569
if ((options->proxy_options || options->proxy_ev_settings)) {
15701570
AWS_LOGF_ERROR(AWS_LS_HTTP_PROXY_NEGOTIATION, "HTTP proxy is not supported on Apple Network Framework.");
15711571
return aws_raise_error(AWS_ERROR_PLATFORM_NOT_SUPPORTED);

0 commit comments

Comments
 (0)