mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572)
This commit is contained in:
parent
eebfa1ba6b
commit
52c7130a2f
1 changed files with 2 additions and 2 deletions
|
@ -1903,7 +1903,7 @@
|
|||
*
|
||||
* Uncomment this to enable pthread mutexes.
|
||||
*/
|
||||
#if ( defined(__linux__) || defined(__FreeBSD__) )
|
||||
#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__)
|
||||
#define MBEDTLS_THREADING_PTHREAD
|
||||
#endif
|
||||
|
||||
|
@ -3285,7 +3285,7 @@
|
|||
*
|
||||
* 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
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue