mirror of
https://github.com/holub/mame
synced 2025-05-03 21:13:18 +03:00
version: provide a bare version-only constant
This commits add a new global constant containing only the version number, without build date. This is useful for tools built around MAME, which would use it to track capability changes for compatibility layers. Signed-off-by: Luca Bruno <lucab@debian.org>
This commit is contained in:
parent
91e3597e7d
commit
8a0f5250ac
@ -120,7 +120,7 @@ private:
|
||||
//**************************************************************************
|
||||
|
||||
extern const char build_version[];
|
||||
|
||||
extern const char bare_build_version[];
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -8,5 +8,9 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#define BARE_BUILD_VERSION "0.156"
|
||||
|
||||
extern const char bare_build_version[];
|
||||
extern const char build_version[];
|
||||
const char build_version[] = "0.156 (" __DATE__")";
|
||||
const char bare_build_version[] = BARE_BUILD_VERSION;
|
||||
const char build_version[] = BARE_BUILD_VERSION " (" __DATE__")";
|
||||
|
Loading…
Reference in New Issue
Block a user