]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Support running FreeBSD buildworld on Arm-based macOS hosts
authorJessica Clarke <jrtc27@jrtc27.com>
Fri, 26 Mar 2021 17:45:12 +0000 (17:45 +0000)
committerGitHub <noreply@github.com>
Fri, 26 Mar 2021 17:45:12 +0000 (10:45 -0700)
commitef977fce66369e11769eaba0839dca19d4ddb484
treee8f58f5beb49847a0189c85240a448c35a613c41
parent8a915ba1f66edc3863c0dcb1c2a4f83582cd4a94
Support running FreeBSD buildworld on Arm-based macOS hosts

Arm-based Macs are like FreeBSD and provide a full 64-bit stat from the
start, so have no stat64 variants. Thus, define stat64 and fstat64 as
aliases for the normal versions.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Closes #11771
lib/libspl/include/os/freebsd/sys/stat.h