From c05b4697a8f87e08e52b8014186c647309976fc2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 15 May 2005 10:31:11 +0000 Subject: Introduce a versioning mechanism, and an `About' box in all front ends. Versioning will be done solely by Subversion revision number, since development on these puzzles is very incremental and gradual and there don't tend to be obvious points to place numbered releases. [originally from svn r5781] --- version.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 version.c (limited to 'version.c') diff --git a/version.c b/version.c new file mode 100644 index 0000000..a44fbf6 --- /dev/null +++ b/version.c @@ -0,0 +1,16 @@ +/* + * Puzzles version numbering. + */ + +#define STR1(x) #x +#define STR(x) STR1(x) + +#if defined REVISION + +char ver[] = "Revision: r" STR(REVISION); + +#else + +char ver[] = "Unidentified build, " __DATE__ " " __TIME__; + +#endif -- cgit v1.1