From 1ffe564af8b8f3fca4c5329b447fa9ea1ca7dade Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 3 Aug 2021 12:41:29 -0400 Subject: [PATCH] Make CHIP_ERROR a class type on Darwin (#8738) --- src/platform/Darwin/CHIPPlatformConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/Darwin/CHIPPlatformConfig.h b/src/platform/Darwin/CHIPPlatformConfig.h index b803bedf1a5fee..1f4cf07d2b588b 100644 --- a/src/platform/Darwin/CHIPPlatformConfig.h +++ b/src/platform/Darwin/CHIPPlatformConfig.h @@ -33,6 +33,10 @@ #define CHIP_CONFIG_TIME_ENABLE_CLIENT 1 #define CHIP_CONFIG_TIME_ENABLE_SERVER 0 +#define CHIP_CONFIG_ERROR_CLASS 1 +#define CHIP_CONFIG_ERROR_FORMAT_AS_STRING 1 +#define CHIP_CONFIG_ERROR_SOURCE 1 + // ==================== Security Adaptations ==================== #define CHIP_CONFIG_USE_OPENSSL_ECC 0