| ... | @@ -9331,9 +9331,11 @@ pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_ | ... | @@ -9331,9 +9331,11 @@ pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_ |
| 9331 | | 9331 | |
| 9332 | pub const arc4random_buf = switch (native_os) { | 9332 | pub const arc4random_buf = switch (native_os) { |
| 9333 | .dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf, | 9333 | .dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf, |
| | 9334 | .linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {}, |
| 9334 | else => {}, | 9335 | else => {}, |
| 9335 | }; | 9336 | }; |
| 9336 | pub const getentropy = switch (native_os) { | 9337 | pub const getentropy = switch (native_os) { |
| | 9338 | .linux => if (builtin.abi.isAndroid() and versionCheck(.{ .major = 28, .minor = 0, .patch = 0 })) private.getentropy else {}, |
| 9337 | .emscripten => private.getentropy, | 9339 | .emscripten => private.getentropy, |
| 9338 | else => {}, | 9340 | else => {}, |
| 9339 | }; | 9341 | }; |