Added display of Windows version details to the output of SHOW VERSION
This commit is contained in:
parent
ba2070f1f6
commit
9cbacc32cf
1 changed files with 4 additions and 1 deletions
5
scp.c
5
scp.c
|
@ -2778,7 +2778,10 @@ if (flag) {
|
|||
#if defined(__VMS)
|
||||
fprintf (st, "\n\t\tOS: VMS");
|
||||
#elif defined(_WIN32)
|
||||
fprintf (st, "\n\t\tOS: Windows");
|
||||
fprintf (st, "\n\t\tOS: Windows: ");
|
||||
fflush (st);
|
||||
system ("ver");
|
||||
system ("echo \t\t%PROCESSOR_IDENTIFIER% - %PROCESSOR_ARCHITECTURE%-%PROCESSOR_ARCHITEW6432%");
|
||||
#else
|
||||
fprintf (st, "\n\t\tOS: ");
|
||||
fflush (st);
|
||||
|
|
Loading…
Add table
Reference in a new issue