lilypond-0.1.12
[lilypond.git] / lily / lily-version.cc
blobdf773fa7ccdb93c51859c6523348dc4023c84112
1 #include "version.hh"
2 #include <stdio.h>
5 #define VERSION_SZ MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL MY_PATCH_LEVEL
6 static char *s = "GNU LilyPond " VERSION_SZ " #%d";
8 static const int build=
9 #include ".build"
12 char const *
13 lily_version_number_sz()
15 return VERSION_SZ;
18 char const *
19 lily_version_sz()
21 static char v[1024]; // ugh
22 sprintf (v, s, build);
23 return v;