mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 23:26:44 -08:00
make this build on SunOS/Solaris
This commit is contained in:
committed by
moneromooo-monero
parent
f48aeab5c4
commit
a17efcb039
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user