~ubuntu-branches/ubuntu/vivid/sgt-puzzles/vivid

« back to all changes in this revision

Viewing changes to version.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-10-01 22:10:50 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20141001221050-h63oyzudv90umb3t
Tags: upstream-20140928.r10274
ImportĀ upstreamĀ versionĀ 20140928.r10274

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Puzzles version numbering.
3
3
 */
4
4
 
5
 
#define STR1(x) #x
6
 
#define STR(x) STR1(x)
7
 
 
8
 
#if defined REVISION
9
 
 
10
 
char ver[] = "Revision: r" STR(REVISION);
11
 
 
12
 
#else
13
 
 
14
 
char ver[] = "Unidentified build, " __DATE__ " " __TIME__;
15
 
 
16
 
#endif
 
5
#include "version.h"
 
6
 
 
7
char ver[] = VER;