ci,thirdparty: enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C only on Linux for now (fix windows CI)

This commit is contained in:
Delyan Angelov 2024-11-21 01:13:07 +02:00
parent 9f6150ee7b
commit 75ae93d80b
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1903,7 +1903,9 @@
* *
* Uncomment this to enable pthread mutexes. * Uncomment this to enable pthread mutexes.
*/ */
#ifdef __linux__
#define MBEDTLS_THREADING_PTHREAD #define MBEDTLS_THREADING_PTHREAD
#endif
/** /**
* \def MBEDTLS_USE_PSA_CRYPTO * \def MBEDTLS_USE_PSA_CRYPTO
@ -3283,7 +3285,9 @@
* *
* Enable this layer to allow use of mutexes within mbed TLS * Enable this layer to allow use of mutexes within mbed TLS
*/ */
#ifdef __linux__
#define MBEDTLS_THREADING_C #define MBEDTLS_THREADING_C
#endif
/** /**
* \def MBEDTLS_TIMING_C * \def MBEDTLS_TIMING_C