diff --git a/scp.c b/scp.c index fb48f579..11676794 100644 --- a/scp.c +++ b/scp.c @@ -2315,6 +2315,9 @@ if (cptr && (*cptr != 0)) fprintf (st, "%s simulator V%d.%d-%d", sim_name, vmaj, vmin, vpat); if (vdelt) fprintf (st, " delta %d", vdelt); +#if defined(SIM_VERSION_MODE) +fprintf (st, " %s", SIM_VERSION_MODE); +#endif if (flag) fprintf (st, " [%s, %s, %s]", sim_si64, sim_sa64, sim_snet); #if defined(SIM_GIT_COMMIT_ID) diff --git a/sim_rev.h b/sim_rev.h index 91c549b4..6ddd3b96 100644 --- a/sim_rev.h +++ b/sim_rev.h @@ -27,10 +27,22 @@ #ifndef _SIM_REV_H_ #define _SIM_REV_H_ 0 +#ifndef SIM_MAJOR #define SIM_MAJOR 4 +#endif +#ifndef SIM_MINOR #define SIM_MINOR 0 +#endif +#ifndef SIM_PATCH #define SIM_PATCH 0 +#endif +#ifndef SIM_DELTA #define SIM_DELTA 0 +#endif + +#ifndef SIM_VERSION_MODE +#define SIM_VERSION_MODE "Beta" +#endif /* The comment section below reflects the manual editing process which was in place