mirror of
https://github.com/vlang/v.git
synced 2025-09-16 10:57:25 -04:00
net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572)
This commit is contained in:
parent
eebfa1ba6b
commit
52c7130a2f
@ -1903,7 +1903,7 @@
|
|||||||
*
|
*
|
||||||
* Uncomment this to enable pthread mutexes.
|
* Uncomment this to enable pthread mutexes.
|
||||||
*/
|
*/
|
||||||
#if ( defined(__linux__) || defined(__FreeBSD__) )
|
#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__)
|
||||||
#define MBEDTLS_THREADING_PTHREAD
|
#define MBEDTLS_THREADING_PTHREAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -3285,7 +3285,7 @@
|
|||||||
*
|
*
|
||||||
* Enable this layer to allow use of mutexes within mbed TLS
|
* Enable this layer to allow use of mutexes within mbed TLS
|
||||||
*/
|
*/
|
||||||
#if ( defined(__linux__) || defined(__FreeBSD__) )
|
#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__)
|
||||||
#define MBEDTLS_THREADING_C
|
#define MBEDTLS_THREADING_C
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user