Skip to content

Commit

Permalink
dragonflybsd identification.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Feb 12, 2022
1 parent 825f1c0 commit d51217e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Core/VersionInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ std::string VersionInfo::GetVersionInfo() {
return windowsVersion;
#elif defined(__FreeBSD__)
return std::string("FreeBSD");
#elif defined(__DragonFly__)
return std::string("DragonFly BSD");
#elif defined(__OpenBSD__)
return std::string("OpenBSD");
#elif defined(__NetBSD__)
Expand Down
2 changes: 2 additions & 0 deletions Sources/Gui/StartupScreenHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,8 @@ namespace spades {
return "Windows";
#elif defined(__FreeBSD__)
return "FreeBSD";
#elif defined(__DragonFly__)
return "DragonFlyBSD";
#elif defined(__OpenBSD__)
return "OpenBSD";
#elif defined(__HAIKU__)
Expand Down

0 comments on commit d51217e

Please sign in to comment.