mirror of
https://github.com/vlang/v.git
synced 2025-09-09 15:27:05 -04:00
thirdparty: fix compilation of thirdparty/mbedtls with tcc on macos m1
This commit is contained in:
parent
755a4bc081
commit
c2788f9793
@ -23,6 +23,12 @@
|
||||
#ifndef MBEDTLS_CHECK_CONFIG_H
|
||||
#define MBEDTLS_CHECK_CONFIG_H
|
||||
|
||||
#if ( defined(__TINYC__) && defined(__APPLE__) && defined(__arm64__) )
|
||||
#undef MBEDTLS_HAVE_ASM
|
||||
#undef MBEDTLS_AESNI_C
|
||||
#undef MBEDTLS_PADLOCK_C
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We assume CHAR_BIT is 8 in many places. In practice, this is true on our
|
||||
* target platforms, so not an issue, but let's just be extra sure.
|
||||
|
Loading…
x
Reference in New Issue
Block a user