mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
util/nvmutil: remove arc4random on linux
linux only had it since 2022. lots of people will complain if i leave this enabled. not all libc have it either Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -44,8 +44,7 @@
|
|||||||
* at build time if you need old Linux / other libc.
|
* at build time if you need old Linux / other libc.
|
||||||
*/
|
*/
|
||||||
#if defined(__OpenBSD__) || defined(__FreeBSD__) || \
|
#if defined(__OpenBSD__) || defined(__FreeBSD__) || \
|
||||||
defined(__NetBSD__) || defined(__APPLE__) || \
|
defined(__NetBSD__) || defined(__APPLE__)
|
||||||
defined(__linux__)
|
|
||||||
#ifndef HAVE_ARC4RANDOM_BUF
|
#ifndef HAVE_ARC4RANDOM_BUF
|
||||||
#define HAVE_ARC4RANDOM_BUF 1
|
#define HAVE_ARC4RANDOM_BUF 1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user