diff options
author | Ondřej Surý <ondrej@sury.org> | 2016-08-30 10:41:12 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2016-08-30 10:41:12 +0200 |
commit | 6a6a85b0ecfbe1a68e0b2d86ba1f75a17f8c1598 (patch) | |
tree | 043d1f4265375c8cc13987d20c63ea0d109eb066 | |
parent | 45dfa8916f911e55b60cb03c1cd0f6cea1141b63 (diff) | |
download | luaossl-6a6a85b0ecfbe1a68e0b2d86ba1f75a17f8c1598.tar.gz luaossl-6a6a85b0ecfbe1a68e0b2d86ba1f75a17f8c1598.tar.bz2 luaossl-6a6a85b0ecfbe1a68e0b2d86ba1f75a17f8c1598.zip |
Add __DragonFly__ and generic BSD detection for ARC4RANDOM
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c index 9fc4595..136110f 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -51,7 +51,7 @@ #define HAVE_ARC4RANDOM #endif -#if defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(BSD) #define HAVE_ARC4RANDOM #endif |