mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix the getentropy test on systems with a new libc and old kernel.
This commit is contained in:
parent
8a0f6f3815
commit
821fccabcc
@ -21,6 +21,5 @@
|
||||
|
||||
int main() {
|
||||
char buffer[100];
|
||||
getentropy(buffer, sizeof(buffer));
|
||||
return 0;
|
||||
return getentropy(buffer, sizeof(buffer)) == 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user