mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Bug
- Fixed platform detection of OpenBSD and NetBSD
This commit is contained in:
parent
a469a2c6d5
commit
16bef4a29e
5 changed files with 17 additions and 6 deletions
|
@ -82,12 +82,14 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
"Solaris"
|
||||
#elif defined (CYGWIN)
|
||||
"Cygwin"
|
||||
#elif defined (OPENBSD)
|
||||
"OpenBSD"
|
||||
#elif defined (HAIKU)
|
||||
"Haiku"
|
||||
#elif defined (OPENBSD)
|
||||
"OpenBSD"
|
||||
#elif defined (FREEBSD)
|
||||
"FreeBSD"
|
||||
#elif defined (NETBSD)
|
||||
"NetBSD"
|
||||
#elif defined (LINUX)
|
||||
"Linux"
|
||||
#else
|
||||
|
|
|
@ -80,12 +80,14 @@ int CmdVersion::execute (std::string& output)
|
|||
<< "solaris"
|
||||
#elif defined (CYGWIN)
|
||||
<< "cygwin"
|
||||
#elif defined (OPENBSD)
|
||||
<< "openbsd"
|
||||
#elif defined (HAIKU)
|
||||
<< "haiku"
|
||||
#elif defined (OPENBSD)
|
||||
<< "openbsd"
|
||||
#elif defined (FREEBSD)
|
||||
<< "freebsd"
|
||||
#elif defined (NETBSD)
|
||||
<< "netbsd"
|
||||
#elif defined (LINUX)
|
||||
<< "linux"
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue