aboutsummaryrefslogtreecommitdiff
path: root/src/system-stats/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system-stats/common.h')
-rw-r--r--src/system-stats/common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/system-stats/common.h b/src/system-stats/common.h
index 230690d..08aceca 100644
--- a/src/system-stats/common.h
+++ b/src/system-stats/common.h
@@ -3,9 +3,12 @@
#include <fstream>
#include <functional>
#include <filesystem>
-
-#define APP_VERSION "2.2"
#define APP_NAME "system-stats"
+#define APP_MAJOR 3
+#define APP_MINOR 0
+
+#define VERSION_STRING(MAJOR, MINOR) #MAJOR "." #MINOR
+#define APP_VERSION VERSION_STRING(APP_MAJOR, APP_MINOR)
using refstream = std::reference_wrapper<std::ostream>;