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

@@ -340,4 +340,11 @@ void win32_abort()
abort();
}
void
append_port_id(buf)
char *buf;
{
char *portstr = PORT_CE_PLATFORM " " PORT_CE_CPU;
Sprintf(eos(buf), " %s", portstr);
}