diff options
author | Omar Polo <op@omarpolo.com> | 2021-05-21 21:35:31 +0200 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-05-21 21:35:31 +0200 |
commit | 3bff838cee8947f7158fafa943618c5410f53dc3 (patch) | |
tree | ac726f20542710acc949b29bad28644ca27663a4 /platform | |
parent | 2687ac2720efd500a6bac88de6f3dcf5dfa4d657 (diff) |
add OpenBSD to OS_LinuxBSD::get_name()
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linuxbsd/os_linuxbsd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linuxbsd/os_linuxbsd.cpp b/platform/linuxbsd/os_linuxbsd.cpp index e7d3c9552e..23e448fbd7 100644 --- a/platform/linuxbsd/os_linuxbsd.cpp +++ b/platform/linuxbsd/os_linuxbsd.cpp @@ -116,6 +116,8 @@ String OS_LinuxBSD::get_name() const { return "FreeBSD"; #elif defined(__NetBSD__) return "NetBSD"; +#elif defined(__OpenBSD__) + return "OpenBSD"; #else return "BSD"; #endif |