mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #1988 - Use libc's arc4random where available.
Configure was defining HAVE_ARC4RANDOM_BUF on systems that have it this whole time, so the OS specific ifdefs weren't necessary. Maybe the flag that was in the original patch was an obsolete name for that flag...
This commit is contained in:
parent
c3e18955ad
commit
1856e4c18c
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ arc4random(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(_we_have_arc4random_buf) || !defined(XP_SOLARIS)
|
||||
#ifndef HAVE_ARC4RANDOM_BUF
|
||||
ARC4RANDOM_EXPORT void
|
||||
arc4random_buf(void *_buf, size_t n)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue