1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

uname: add NetBSD to operating systems list

This commit is contained in:
Dave Hodder 2021-07-06 23:42:16 +01:00
parent 330f797378
commit 7a62d8e4e7

View file

@ -38,6 +38,8 @@ const HOST_OS: &str = "Linux";
const HOST_OS: &str = "Windows NT";
#[cfg(target_os = "freebsd")]
const HOST_OS: &str = "FreeBSD";
#[cfg(target_os = "netbsd")]
const HOST_OS: &str = "NetBSD";
#[cfg(target_os = "openbsd")]
const HOST_OS: &str = "OpenBSD";
#[cfg(target_vendor = "apple")]