Remove pre-Vista considerations from utilities

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-06-27 17:50:25 +02:00
parent 673dd34823
commit b6693e7c17
4 changed files with 4 additions and 55 deletions

View File

@@ -251,13 +251,6 @@ main (int argc, char *argv[])
}
}
/* Check process query capabilities. */
OSVERSIONINFO version;
version.dwOSVersionInfoSize = sizeof version;
GetVersionEx (&version);
if (version.dwMajorVersion <= 5) /* pre-Vista */
proc_access = PROCESS_QUERY_INFORMATION;
drive_map = (void *) cygwin_internal (CW_ALLOC_DRIVE_MAP);
/* Check old Cygwin version. */
if (drive_map == (void *) -1)