runtime port identification

The CE ports use makedefs hosted on another platform,
so the version string generated at build time isn't really
appropriate.

Add a way to add information to the version string
at runtime for such ports.
This commit is contained in:
nethack.allison
2003-02-19 11:44:14 +00:00
parent 3d9d7f24b3
commit 0c4bd66545
4 changed files with 44 additions and 0 deletions

View File

@@ -24,6 +24,9 @@ char *buf;
Strcpy(buf, VERSION_ID);
#if defined(BETA) && defined(BETA_INFO)
Sprintf(eos(buf), " %s", BETA_INFO);
#endif
#if defined(RUNTIME_PORT_ID)
append_port_id(buf);
#endif
return buf;
}