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 | c8141741674cab9ac1af3d2cc16b0908ccd7657d (patch) | |
tree | b0b9337f720a71047ff6df82aecd8504d200bed2 | |
parent | 988c66bad62d7d81cc10fb58e1af264671705538 (diff) | |
download | prosody-c8141741674cab9ac1af3d2cc16b0908ccd7657d.tar.gz prosody-c8141741674cab9ac1af3d2cc16b0908ccd7657d.zip |
util.crand: Add comments about defines
-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> |