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 @@ ...@@ -26,6 +26,7 @@
#include "git_hash.h" #include "git_hash.h"
#include "git_branch.h" #include "git_branch.h"
#include "ver.h" #include "ver.h"
#include "archive.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -124,6 +125,10 @@ void sbbs_t::ver() ...@@ -124,6 +125,10 @@ void sbbs_t::ver()
} }
#endif #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))); safe_snprintf(str, sizeof(str), "%s %s", os_version(os, sizeof(os)), os_cpuarch(cpu, sizeof(cpu)));
center(str); center(str);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment