Created a minor version number
This commit is contained in:
parent
41aac2a3c4
commit
26b3ec966c
|
@ -10,6 +10,6 @@ static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
|
|||
#endif
|
||||
|
||||
char* get_version(void) {
|
||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d", VERSION_TEXT, VERSION_NUMBER);
|
||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER);
|
||||
return sVersionString;
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#define UNSTABLE_BRANCH
|
||||
#define VERSION_NUMBER 25
|
||||
#define MINOR_VERSION_NUMBER 1
|
||||
|
||||
#define MAX_VERSION_LENGTH 10
|
||||
char* get_version(void);
|
||||
|
|
Loading…
Reference in New Issue