Skip to content

Commit

Permalink
ci,thirdparty: enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING…
Browse files Browse the repository at this point in the history
…_C only on Linux for now (fix windows CI)
  • Loading branch information
spytheman committed Nov 20, 2024
1 parent 9f6150e commit 75ae93d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions thirdparty/mbedtls/include/mbedtls/mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,9 @@
*
* Uncomment this to enable pthread mutexes.
*/
#ifdef __linux__
#define MBEDTLS_THREADING_PTHREAD
#endif

/**
* \def MBEDTLS_USE_PSA_CRYPTO
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 75ae93d

Please sign in to comment.