From 8558bc519cb06fea1d683d37081c2df04d91fc60 Mon Sep 17 00:00:00 2001 From: anonimal Date: Sun, 19 Feb 2017 07:04:38 +0000 Subject: [PATCH] config.h: add DragonFly BSD support --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index d1fb9d43..63ba8670 100644 --- a/config.h +++ b/config.h @@ -524,7 +524,7 @@ NAMESPACE_END #define CRYPTOPP_MM_MALLOC_AVAILABLE #elif defined(__APPLE__) #define CRYPTOPP_APPLE_MALLOC_AVAILABLE -#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) #define CRYPTOPP_MALLOC_ALIGNMENT_IS_16 #elif defined(__linux__) || defined(__sun__) || defined(__CYGWIN__) #define CRYPTOPP_MEMALIGN_AVAILABLE @@ -615,7 +615,7 @@ NAMESPACE_END #define CRYPTOPP_UNIX_AVAILABLE #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) #define CRYPTOPP_BSD_AVAILABLE #endif