| ... | ... | @@ -10196,10 +10196,12 @@ pub extern "c" fn sendfile64(out_fd: fd_t, in_fd: fd_t, offset: ?*i64, count: us |
| 10196 | 10196 | pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_int; |
| 10197 | 10197 | |
| 10198 | 10198 | pub const arc4random_buf = switch (native_os) { |
| 10199 | | .dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .macos, .ios, .tvos, .watchos, .visionos, .serenity => private.arc4random_buf, |
| 10199 | .linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {}, |
| 10200 | .dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf, |
| 10200 | 10201 | else => {}, |
| 10201 | 10202 | }; |
| 10202 | 10203 | pub const getentropy = switch (native_os) { |
| 10204 | .linux => if (builtin.abi.isAndroid() and versionCheck(.{ .major = 28, .minor = 0, .patch = 0 })) private.getentropy else {}, |
| 10203 | 10205 | .emscripten => private.getentropy, |
| 10204 | 10206 | else => {}, |
| 10205 | 10207 | }; |