Switch to posix_memalign for FreeBSD
parent
c4392c40e0
commit
e21f882f50
2
config.h
2
config.h
|
|
@ -695,7 +695,7 @@ NAMESPACE_END
|
||||||
#define CRYPTOPP_MM_MALLOC_AVAILABLE
|
#define CRYPTOPP_MM_MALLOC_AVAILABLE
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#define CRYPTOPP_APPLE_MALLOC_AVAILABLE
|
#define CRYPTOPP_APPLE_MALLOC_AVAILABLE
|
||||||
#elif defined(_AIX)
|
#elif defined(_AIX) || defined(__FreeBSD__)
|
||||||
#define CRYPTOPP_POSIX_MEMALIGN_AVAILABLE
|
#define CRYPTOPP_POSIX_MEMALIGN_AVAILABLE
|
||||||
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
#define CRYPTOPP_MALLOC_ALIGNMENT_IS_16
|
#define CRYPTOPP_MALLOC_ALIGNMENT_IS_16
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue