mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
ci,thirdparty: enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C only on Linux for now (fix windows CI)
This commit is contained in:
parent
9f6150ee7b
commit
75ae93d80b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user