]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/flower-version.cc
partial: 1.0.1.jcn
[lilypond.git] / flower / flower-version.cc
index deb0b19c7c6c3d8bfeece2026694e0af0b28058c..746deacb9342c0824624786681c9c9cfc5705009 100644 (file)
@@ -1,19 +1,13 @@
 #include <stdio.h>
 
-#include "config.hh"
+#include "version.hh"
 
-// static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL " #%d";
-static char *s = "FlowerLib " FLOWER_VERSION " #%d";
+static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL "." MY_PATCH_LEVEL;
+//static char *s = "FlowerLib " FLOWER_VERSION ;
 
-static const int build=
-//#include ".build"
-0
-;
 
 char const * 
 flower_version_sz()
 {
-  static char v[1024];
-  sprintf (v, s, build);
-  return v;
+  return s;
 }