Guard SIMD file only for x86 and amd64.

This commit is contained in:
2021-09-26 19:44:47 +01:00
parent 84f639b3d2
commit b384450383
2 changed files with 10 additions and 1 deletions

6
simd.h
View File

@@ -1 +1,5 @@
int have_clmul(void);
#if defined(__x86_64__) || defined(__amd64) || defined(_M_AMD64) || defined(_M_X64) || defined(__I386__) || \
defined(__i386__) || defined(__THW_INTEL) || defined(_M_IX86)
int have_clmul(void);
#endif