mirror of
https://github.com/open-simh/simh.git
synced 2026-05-03 22:58:53 +00:00
Added display of Windows version details to the output of SHOW VERSION
This commit is contained in:
5
scp.c
5
scp.c
@@ -2778,7 +2778,10 @@ if (flag) {
|
|||||||
#if defined(__VMS)
|
#if defined(__VMS)
|
||||||
fprintf (st, "\n\t\tOS: VMS");
|
fprintf (st, "\n\t\tOS: VMS");
|
||||||
#elif defined(_WIN32)
|
#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
|
#else
|
||||||
fprintf (st, "\n\t\tOS: ");
|
fprintf (st, "\n\t\tOS: ");
|
||||||
fflush (st);
|
fflush (st);
|
||||||
|
|||||||
Reference in New Issue
Block a user