mirror of
https://github.com/jwinterm/wownero.git
synced 2026-10-24 06:38:36 +02:00
make this build on SunOS/Solaris
This commit is contained in:
+1
-1
@@ -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