mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 16:40:13 -04:00
make this build on SunOS/Solaris
This commit is contained in:
parent
f48aeab5c4
commit
a17efcb039
9 changed files with 42 additions and 3 deletions
|
@ -405,7 +405,7 @@ namespace tools
|
|||
#else
|
||||
std::string get_nix_version_display_string()
|
||||
{
|
||||
utsname un;
|
||||
struct utsname un;
|
||||
|
||||
if(uname(&un) < 0)
|
||||
return std::string("*nix: failed to get os version");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue