1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

Adding initial support to display the git commit id in the simulator code.

This commit is contained in:
Mark Pizzolato
2012-12-20 15:04:37 -08:00
parent 9e421ada27
commit f8e68b70b5
3 changed files with 17 additions and 1 deletions

3
scp.c
View File

@@ -2298,6 +2298,9 @@ if (vdelt)
if (flag)
fprintf (st, " [%s, %s, %s]", sim_si64, sim_sa64, sim_snet);
fprintf (st, "\n");
#if defined(SIM_GIT_COMMIT_ID)
fprintf (st, "git commit id: %8.8s\n", SIM_GIT_COMMIT_ID);
#endif
return SCPE_OK;
}