1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

MacOSX: Make AESNI availability linked to compiler target and not compilation host

This commit is contained in:
Mounir IDRASSI
2021-08-15 23:00:31 +02:00
parent 8ae5a715d6
commit d448713e61
3 changed files with 4 additions and 9 deletions

View File

@@ -14,8 +14,7 @@
#define TC_HEADER_Encryption_Ciphers
#include "Platform/Platform.h"
#include "Crypto/config.h"
#include "Crypto/cpu.h"
namespace VeraCrypt
{
@@ -126,10 +125,6 @@ namespace VeraCrypt
#undef TC_EXCEPTION
#if (defined (TC_ARCH_X86) || defined (TC_ARCH_X64)) && !defined (__ppc__)
# define TC_AES_HW_CPU
#endif
}
#endif // TC_HEADER_Encryption_Ciphers