Skip to content

Commit 52c7130

Browse files
authored
net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572)
1 parent eebfa1b commit 52c7130

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

thirdparty/mbedtls/include/mbedtls/mbedtls_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@
19031903
*
19041904
* Uncomment this to enable pthread mutexes.
19051905
*/
1906-
#if ( defined(__linux__) || defined(__FreeBSD__) )
1906+
#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__)
19071907
#define MBEDTLS_THREADING_PTHREAD
19081908
#endif
19091909

@@ -3285,7 +3285,7 @@
32853285
*
32863286
* Enable this layer to allow use of mutexes within mbed TLS
32873287
*/
3288-
#if ( defined(__linux__) || defined(__FreeBSD__) )
3288+
#if ( defined(__linux__) || defined(__FreeBSD__) ) || defined (__OpenBSD__)
32893289
#define MBEDTLS_THREADING_C
32903290
#endif
32913291

0 commit comments

Comments
 (0)