Skip to content
Snippets Groups Projects
Commit f632d407 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Print the Synchronet REVISION (e.g. 318c) and Git info on stdout

Uses the git_branch and git_hash files created in sbbs3 (first).
parent 72d9699d
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1040 passed
......@@ -23,6 +23,8 @@
#include "scfg.h"
#undef BLINK
#include "ciolib.h"
#include "git_hash.h"
#include "git_branch.h"
/********************/
/* Global Variables */
......@@ -153,9 +155,13 @@ int main(int argc, char **argv)
char str[MAX_PATH+1];
BOOL door_mode=FALSE;
int ciolib_mode=CIOLIB_MODE_AUTO;
char compiler[32];
printf("\nSynchronet Configuration Utility (%s) v%s " COPYRIGHT_NOTICE
"\n",PLATFORM_DESC,VERSION);
DESCRIBE_COMPILER(compiler);
printf("\nSynchronet Configuration Utility (%s) v%s%c " COPYRIGHT_NOTICE
"\n",PLATFORM_DESC, VERSION, REVISION);
printf("\nCompiled %s/%s %s %s with %s\n", GIT_BRANCH, GIT_HASH, __DATE__, __TIME__, compiler);
xp_randomize();
cfg.size=sizeof(cfg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment