X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fversion.h.tmpl;h=d3f33024a937d82850fcae2f184c9ee4654a9222;hb=d9607cd79bbe69ba8224cd56134e0e8f6fe8d51a;hp=639e6d7c19190f9d7761cd4dfd1cd6f74d733e99;hpb=88564da09144e7fd1202fe79aff1371478a69ecf;p=lttng-tools.git diff --git a/include/version.h.tmpl b/include/version.h.tmpl index 639e6d7c1..d3f33024a 100644 --- a/include/version.h.tmpl +++ b/include/version.h.tmpl @@ -1,3 +1,6 @@ +#ifndef VERSION_H +#define VERSION_H + /* * Copyright (C) 2013-2014 - Raphaël Beamonte * @@ -17,18 +20,6 @@ #include -#ifndef VERSION_H -#define VERSION_H - -#define GIT_VERSION - -/* - * Define the macro containing the FULL version - */ -#ifdef GIT_VERSION -#define FULL_VERSION "" GIT_VERSION -#else /* GIT_VERSION */ -#define FULL_VERSION "v" VERSION -#endif /* GIT_VERSION */ +#define GIT_VERSION "" #endif /* VERSION_H */