From: Michael Göhler Date: Sun, 21 Sep 2014 15:40:29 +0000 (+0200) Subject: added revision to version number X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=0c8a90b6cd07fb827135d7911a44c828eceee33b;p=smdp.git added revision to version number --- diff --git a/include/mdp.h b/include/mdp.h index f57920b..8713623 100644 --- a/include/mdp.h +++ b/include/mdp.h @@ -23,7 +23,8 @@ #include "parser.h" #include "viewer.h" -#define MAJOR_VERSION 0 -#define MINOR_VERSION 90 +#define MDP_VER_MAJOR 0 +#define MDP_VER_MINOR 91 +#define MDP_VER_REVISION 1 #endif // !defined( MDP_H ) diff --git a/mdp.c b/mdp.c index 3d38e3f..4fe4a63 100644 --- a/mdp.c +++ b/mdp.c @@ -39,7 +39,7 @@ void usage() { } void version() { - printf("mdp %d.%d\n", MAJOR_VERSION, MINOR_VERSION); + printf("mdp %d.%d.%d\n", MDP_VER_MAJOR, MDP_VER_MINOR, MDP_VER_REVISION); printf("Copyright (C) 2014 Michael Goehler\n"); printf("License GPLv3+: GNU GPL version 3 or later .\n"); printf("This is free software: you are free to change and redistribute it.\n");