mirror of https://github.com/aria2/aria2
Always include raw OS version number on Windows
parent
bc5d9e5466
commit
bd29fd2c30
|
@ -333,6 +333,7 @@ std::string getOperatingSystemInfo()
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
rv << " (x86_64)";
|
rv << " (x86_64)";
|
||||||
#endif // _WIN64
|
#endif // _WIN64
|
||||||
|
rv << " (" << ovi.dwMajorVersion << "." << ovi.dwMinorVersion << ")";
|
||||||
return rv.str();
|
return rv.str();
|
||||||
#else //! _WIN32
|
#else //! _WIN32
|
||||||
#ifdef HAVE_SYS_UTSNAME_H
|
#ifdef HAVE_SYS_UTSNAME_H
|
||||||
|
|
Loading…
Reference in New Issue