Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request yvt#996 from devnexen/dflybsd_port
Browse files Browse the repository at this point in the history
DragonFly BSD identification
  • Loading branch information
yvt authored Feb 12, 2022
2 parents db5b86a + d51217e commit d7d467e
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 d7d467e

Please sign in to comment.