Switch to posix_memalign for FreeBSD

pull/574/merge
Jeffrey Walton 2018-01-29 17:39:25 -05:00
parent c4392c40e0
commit e21f882f50
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ NAMESPACE_END
#define CRYPTOPP_MM_MALLOC_AVAILABLE
#elif defined(__APPLE__)
#define CRYPTOPP_APPLE_MALLOC_AVAILABLE
#elif defined(_AIX)
#elif defined(_AIX) || defined(__FreeBSD__)
#define CRYPTOPP_POSIX_MEMALIGN_AVAILABLE
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#define CRYPTOPP_MALLOC_ALIGNMENT_IS_16