diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-10-01 14:44:39 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-10-01 14:50:44 +0200 |
commit | 103c861dfead6640a4bef6e85f740f7c635c7343 (patch) | |
tree | 72da094e63ddf875b174f3693dfbd0f5b69655c6 /src/common | |
parent | ff8aba7053728d5b8f51152e10d73a7535e495a3 (diff) | |
download | tor-103c861dfead6640a4bef6e85f740f7c635c7343.tar.gz tor-103c861dfead6640a4bef6e85f740f7c635c7343.zip |
Looks like Windows version 6.2 will be Windows 8
Thanks to funkstar for the report
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 80b4907b81..266fc61c4c 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -1806,6 +1806,7 @@ get_uname(void) static struct { unsigned major; unsigned minor; const char *version; } win_version_table[] = { + { 6, 2, "Windows 8" }, { 6, 1, "Windows 7" }, { 6, 0, "Windows Vista" }, { 5, 2, "Windows Server 2003" }, @@ -1862,7 +1863,7 @@ get_uname(void) plat, extra); } else { if (info.dwMajorVersion > 6 || - (info.dwMajorVersion==6 && info.dwMinorVersion>1)) + (info.dwMajorVersion==6 && info.dwMinorVersion>2)) tor_snprintf(uname_result, sizeof(uname_result), "Very recent version of Windows [major=%d,minor=%d] %s", (int)info.dwMajorVersion,(int)info.dwMinorVersion, |