File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
thirdparty/mbedtls/include/mbedtls Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1903
1903
*
1904
1904
* Uncomment this to enable pthread mutexes.
1905
1905
*/
1906
- #ifdef __linux__
1906
+ #if ( defined( __linux__ ) || defined( __FreeBSD__ ) )
1907
1907
#define MBEDTLS_THREADING_PTHREAD
1908
1908
#endif
1909
1909
3285
3285
*
3286
3286
* Enable this layer to allow use of mutexes within mbed TLS
3287
3287
*/
3288
- #ifdef __linux__
3288
+ #if ( defined( __linux__ ) || defined( __FreeBSD__ ) )
3289
3289
#define MBEDTLS_THREADING_C
3290
3290
#endif
3291
3291
3807
3807
//#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
3808
3808
3809
3809
/** \} name SECTION: Module configuration options */
3810
+
3811
+
3812
+ #if ( defined(__TINYC__ ) && defined(__APPLE__ ) && defined(__arm64__ ) )
3813
+ #undef MBEDTLS_HAVE_ASM
3814
+ #undef MBEDTLS_AESNI_C
3815
+ #undef MBEDTLS_PADLOCK_C
3816
+ #endif
3817
+
3818
+ #if ( defined(__TINYC__ ) && defined(__FreeBSD__ ) )
3819
+ #undef MBEDTLS_HAVE_ASM
3820
+ #undef MBEDTLS_AESNI_C
3821
+ #undef MBEDTLS_PADLOCK_C
3822
+ #endif
You can’t perform that action at this time.
0 commit comments