Commit d571c5aa authored by Lucas Russo's avatar Lucas Russo

bpm_server_classes.h,revision.c: move version strings to revision.c

The only place we need them is in revision.c. So, we have moved
them there.
parent 5709332e
......@@ -36,10 +36,6 @@
#define BPM_VERSION_MINOR 1
#define BPM_VERSION_PATCH 0
#define BPM_VERSION_MAJOR_STR STRINGIFY(BPM_VERSION_MAJOR)
#define BPM_VERSION_MINOR_STR STRINGIFY(BPM_VERSION_MINOR)
#define BPM_VERSION_PATCH_STR STRINGIFY(BPM_VERSION_PATCH)
#define BPM_MAKE_VERSION(major, minor, patch) \
((major) * 10000 + (minor) * 100 + (patch))
#define BPM_VERSION \
......
......@@ -7,6 +7,10 @@
#include "bpm_server.h"
#define BPM_VERSION_MAJOR_STR STRINGIFY(BPM_VERSION_MAJOR)
#define BPM_VERSION_MINOR_STR STRINGIFY(BPM_VERSION_MINOR)
#define BPM_VERSION_PATCH_STR STRINGIFY(BPM_VERSION_PATCH)
static const char *build_revision = GIT_REVISION;
static const char *build_date = __DATE__ " " __TIME__;
static const char *build_user_name = GIT_USER_NAME;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment