mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-01-18 23:34:06 +00:00
Fix compile on iOS
This commit is contained in:
parent
f00b0427aa
commit
9538f2d715
6
misc.h
6
misc.h
@ -67,11 +67,13 @@
|
||||
#include <byteswap.h>
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) || defined(__clang__)) && (__ARM_ARCH >= 6)
|
||||
// Apple Clang does not consume the GCC inline assembly as expected
|
||||
#if (defined(__GNUC__) && !defined(__clang__)) && (__ARM_ARCH >= 6)
|
||||
#define CRYPTOPP_ARM_BYTEREV_AVAILABLE 1
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) || defined(__clang__)) && (__ARM_ARCH >= 7)
|
||||
// Apple Clang does not consume the GCC inline assembly as expected
|
||||
#if (defined(__GNUC__) && !defined(__clang__)) && (__ARM_ARCH >= 7)
|
||||
#define CRYPTOPP_ARM_BITREV_AVAILABLE 1
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user