summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-05-21 21:35:31 +0200
committerOmar Polo <op@omarpolo.com>2021-05-21 21:35:31 +0200
commit3bff838cee8947f7158fafa943618c5410f53dc3 (patch)
treeac726f20542710acc949b29bad28644ca27663a4 /platform/linuxbsd
parent2687ac2720efd500a6bac88de6f3dcf5dfa4d657 (diff)
add OpenBSD to OS_LinuxBSD::get_name()
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r--platform/linuxbsd/os_linuxbsd.cpp2
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