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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user