mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +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
|
@ -138,12 +138,14 @@ const std::string DOM::get (const std::string& name)
|
|||
return /*_cache[name] =*/ "Solaris";
|
||||
#elif defined (CYGWIN)
|
||||
return /*_cache[name] =*/ "Cygwin";
|
||||
#elif defined (OPENBSD)
|
||||
return /*_cache[name] =*/ "OpenBSD";
|
||||
#elif defined (HAIKU)
|
||||
return /*_cache[name] =*/ "Haiku";
|
||||
#elif defined (OPENBSD)
|
||||
return /*_cache[name] =*/ "OpenBSD";
|
||||
#elif defined (FREEBSD)
|
||||
return /*_cache[name] =*/ "FreeBSD";
|
||||
#elif defined (NETBSD)
|
||||
return /*_cache[name] =*/ "NetBSD";
|
||||
#elif defined (LINUX)
|
||||
return /*_cache[name] =*/ "Linux";
|
||||
#else
|
||||
|
|
|
@ -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