| ... | @@ -10357,7 +10357,10 @@ pub extern "c" fn sendfile64(out_fd: fd_t, in_fd: fd_t, offset: ?*i64, count: us | ... | @@ -10357,7 +10357,10 @@ pub extern "c" fn sendfile64(out_fd: fd_t, in_fd: fd_t, offset: ?*i64, count: us |
| 10357 | pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_int; | 10357 | pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_int; |
| 10358 | | 10358 | |
| 10359 | pub const arc4random_buf = switch (native_os) { | 10359 | pub const arc4random_buf = switch (native_os) { |
| 10360 | .linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {}, | 10360 | .linux => if (builtin.abi.isAndroid() or |
| | 10361 | (builtin.abi.isGnu() and versionCheck(.{ .major = 2, .minor = 36, .patch = 0 }))) |
| | 10362 | private.arc4random_buf |
| | 10363 | else {}, |
| 10361 | .dragonfly, .netbsd, .freebsd, .illumos, .openbsd, .serenity, .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => private.arc4random_buf, | 10364 | .dragonfly, .netbsd, .freebsd, .illumos, .openbsd, .serenity, .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => private.arc4random_buf, |
| 10362 | else => {}, | 10365 | else => {}, |
| 10363 | }; | 10366 | }; |