diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-01 00:56:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-01 00:56:11 +0100 |
commit | b60447fad63aeac0efc626b3559dcf6151e5d58c (patch) | |
tree | b0b9337f720a71047ff6df82aecd8504d200bed2 /util-src/crand.c | |
parent | a29f404ece8b786c3e330baffca2b9761e64d259 (diff) | |
download | prosody-b60447fad63aeac0efc626b3559dcf6151e5d58c.tar.gz prosody-b60447fad63aeac0efc626b3559dcf6151e5d58c.zip |
util.crand: Add comments about defines
Diffstat (limited to 'util-src/crand.c')
-rw-r--r-- | util-src/crand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index 28b94b3b..762f7454 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -31,10 +31,12 @@ #if defined(WITH_GETRANDOM) #ifndef __GLIBC_PREREQ +/* Not compiled with glibc at all */ #define __GLIBC_PREREQ(a,b) 0 #endif #if ! __GLIBC_PREREQ(2,25) +/* Not compiled with a glibc that provides getrandom() */ #include <unistd.h> #include <sys/syscall.h> |