diff --git a/src/ver.h b/src/ver.h new file mode 100644 index 0000000000..d56f1f4b22 --- /dev/null +++ b/src/ver.h @@ -0,0 +1,17 @@ +#ifndef STEPMANIA_VER_H +#define STEPMANIA_VER_H + +// HACK: The MSVC project doesn't generate this yet +#ifdef _MSC_VER +#define product_version "5.0-UNKNOWN" +#else +extern const char *const product_version; +#endif + +// XXX: These names are misnomers. This is actually the BUILD number, time and date. +// NOTE: In GNU toolchain these are defined in ver.cpp. In MSVC these are defined in archutils/Win32/verinc.c I think. Why? I don't know and I don't have MSVC. --root +extern const unsigned long version_num; +extern const char *const version_time; +extern const char *const version_date; + +#endif \ No newline at end of file