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

Display the libarchive version details along with the other libs we use

parent 36afdb8a
Branches
Tags
No related merge requests found
Pipeline #8025 failed
......@@ -26,6 +26,7 @@
#include "git_hash.h"
#include "git_branch.h"
#include "ver.h"
#include "archive.h"
#ifdef __cplusplus
extern "C" {
......@@ -124,6 +125,10 @@ void sbbs_t::ver()
}
#endif
safe_snprintf(str, sizeof str, "%s (%u)", archive_version_string(), ARCHIVE_VERSION_NUMBER);
center(str);
CRLF;
safe_snprintf(str, sizeof(str), "%s %s", os_version(os, sizeof(os)), os_cpuarch(cpu, sizeof(cpu)));
center(str);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment