std.c: define arc4random_buf() for illumos

This commit is contained in:
Ryan Zezeski 2025-10-25 10:36:17 +02:00 committed by Alex Rønne Petersen
parent f4ef7e8761
commit ac3e4f4519
No known key found for this signature in database

View File

@ -10298,7 +10298,7 @@ pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_
pub const arc4random_buf = switch (native_os) {
.linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {},
.dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .serenity, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf,
.dragonfly, .netbsd, .freebsd, .solaris, .illumos, .openbsd, .serenity, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf,
else => {},
};
pub const getentropy = switch (native_os) {