]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-version.cc
release: 0.1.12
[lilypond.git] / lily / lily-version.cc
index 68a6b49037351430abc3162cca94ccea9a83038b..df773fa7ccdb93c51859c6523348dc4023c84112 100644 (file)
@@ -1,12 +1,20 @@
 #include "version.hh"
 #include <stdio.h>
 
-static char *s = "GNU LilyPond " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL " #%d";
+
+#define VERSION_SZ  MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL
+static char *s = "GNU LilyPond " VERSION_SZ " #%d";
 
 static const int build=
 #include ".build"
 ;
 
+char const *
+lily_version_number_sz()
+{
+  return VERSION_SZ;
+}
+
 char const * 
 lily_version_sz()
 {