From 75ae93d80b090c67aba59d3752bdbec8bd72d24e Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Nov 2024 01:13:07 +0200 Subject: [PATCH] ci,thirdparty: enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C only on Linux for now (fix windows CI) --- thirdparty/mbedtls/include/mbedtls/mbedtls_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h b/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h index 2b9740476e..86dc3cc3d8 100644 --- a/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h +++ b/thirdparty/mbedtls/include/mbedtls/mbedtls_config.h @@ -1903,7 +1903,9 @@ * * Uncomment this to enable pthread mutexes. */ +#ifdef __linux__ #define MBEDTLS_THREADING_PTHREAD +#endif /** * \def MBEDTLS_USE_PSA_CRYPTO @@ -3283,7 +3285,9 @@ * * Enable this layer to allow use of mutexes within mbed TLS */ +#ifdef __linux__ #define MBEDTLS_THREADING_C +#endif /** * \def MBEDTLS_TIMING_C