Require zig cc or clang for the amazing __builtin_shufflevector()

This commit is contained in:
Frank Denis
2022-11-13 23:53:28 +01:00
parent 55b4510986
commit 479c370bc1
2 changed files with 2 additions and 2 deletions
@@ -47,7 +47,7 @@ crypto_aead_aes256gcm_keygen(unsigned char k[crypto_aead_aes256gcm_KEYBYTES])
randombytes_buf(k, crypto_aead_aes256gcm_KEYBYTES);
}
#if !((defined(HAVE_ARMCRYPTO) && defined(__GNUC__) && defined(NATIVE_LITTLE_ENDIAN)) || \
#if !((defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN)) || \
(defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H) && defined(__GNUC__)))
#ifndef ENOSYS
@@ -13,7 +13,7 @@
#include "runtime.h"
#include "utils.h"
#if defined(HAVE_ARMCRYPTO) && defined(__GNUC__) && defined(NATIVE_LITTLE_ENDIAN)
#if defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN)
#include <arm_neon.h>