15 #ifndef CRYPTOPP_CONFIG_ALIGN_H 16 #define CRYPTOPP_CONFIG_ALIGN_H 26 #if defined(CRYPTOPP_DISABLE_ASM) 27 #define CRYPTOPP_BOOL_ALIGN16 0 28 #elif (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64 || \ 29 CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64) 30 #define CRYPTOPP_BOOL_ALIGN16 1 32 #define CRYPTOPP_BOOL_ALIGN16 0 38 #define CRYPTOPP_MM_MALLOC_AVAILABLE 39 #elif defined(__linux__) || defined(__sun__) || defined(__CYGWIN__) 40 #define CRYPTOPP_MEMALIGN_AVAILABLE 41 #elif defined(__APPLE__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) 42 #define CRYPTOPP_MALLOC_ALIGNMENT_IS_16 43 #elif (defined(_GNU_SOURCE) || ((_XOPEN_SOURCE + 0) >= 600)) && (_POSIX_ADVISORY_INFO > 0) 44 #define CRYPTOPP_POSIX_MEMALIGN_AVAILABLE 46 #define CRYPTOPP_NO_ALIGNED_ALLOC 53 #if defined(CRYPTOPP_CXX11_ALIGNAS) 54 #define CRYPTOPP_ALIGN_DATA(x) alignas(x) 55 #elif defined(_MSC_VER) 56 #define CRYPTOPP_ALIGN_DATA(x) __declspec(align(x)) 57 #elif defined(__GNUC__) || defined(__clang__) || (__SUNPRO_CC >= 0x5100) 58 #define CRYPTOPP_ALIGN_DATA(x) __attribute__((aligned(x))) 59 #elif defined(__xlc__) || defined(__xlC__) 60 #define CRYPTOPP_ALIGN_DATA(x) __attribute__((aligned(x))) 62 #define CRYPTOPP_ALIGN_DATA(x) 65 #endif // CRYPTOPP_CONFIG_ALIGN_H Library configuration file.
Library configuration file.
Library configuration file.
Library configuration file.