From 353a0f7a3b32ae2d5c6995f39d6134d07284e688 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Thu, 3 Oct 2024 09:38:22 -0700 Subject: [PATCH 1/2] define AWS_USE_DISPATCH_QUEUE and AWS_USE_SECITEM for iOS and tvOS --- include/aws/common/platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/aws/common/platform.h b/include/aws/common/platform.h index b1e16a1e7..c992541ee 100644 --- a/include/aws/common/platform.h +++ b/include/aws/common/platform.h @@ -20,10 +20,14 @@ # include "TargetConditionals.h" # if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE # define AWS_OS_IOS +# define AWS_USE_DISPATCH_QUEUE +# define AWS_USE_SECITEM # elif defined(TARGET_OS_WATCH) && TARGET_OS_WATCH # define AWS_OS_WATCHOS # elif defined(TARGET_OS_TV) && TARGET_OS_TV # define AWS_OS_TVOS +# define AWS_USE_DISPATCH_QUEUE +# define AWS_USE_SECITEM # else # define AWS_OS_MACOS # endif From cda4d0ed9f63e327338120102ab3eea5e721b38b Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Thu, 3 Oct 2024 10:04:10 -0700 Subject: [PATCH 2/2] add KQUEUE to macOS --- include/aws/common/platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/aws/common/platform.h b/include/aws/common/platform.h index c992541ee..d08b61d1e 100644 --- a/include/aws/common/platform.h +++ b/include/aws/common/platform.h @@ -30,6 +30,7 @@ # define AWS_USE_SECITEM # else # define AWS_OS_MACOS +# define AWS_USE_KQUEUE # endif #elif __linux__ # define AWS_OS_LINUX