aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckinfo.h.in
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-26 18:17:00 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-26 18:17:00 +0300
commit9419ef2b23e1b19a604b1e858837e3abfd684077 (patch)
tree1a50e4a9494b959acd60bf4b174fee57e62f235b /src/ckinfo.h.in
parent41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd (diff)
downloadck-9419ef2b23e1b19a604b1e858837e3abfd684077.tar.gz
ck-9419ef2b23e1b19a604b1e858837e3abfd684077.tar.bz2
ck-9419ef2b23e1b19a604b1e858837e3abfd684077.zip
Add pacth number in version
Diffstat (limited to 'src/ckinfo.h.in')
-rw-r--r--src/ckinfo.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ckinfo.h.in b/src/ckinfo.h.in
index 0d101f4..832532f 100644
--- a/src/ckinfo.h.in
+++ b/src/ckinfo.h.in
@@ -20,10 +20,12 @@
#define CK_MAJOR_VERSION @ck_MAJOR_VERSION@
#define CK_MINOR_VERSION @ck_MINOR_VERSION@
+#define CK_PATCH_VERSION @ck_PATCH_VERSION@
extern void print_version() {
- printf("ck version %d.%d\n", CK_MAJOR_VERSION, CK_MINOR_VERSION);
+ printf("ck version %d.%d.%d\n", CK_MAJOR_VERSION,
+ CK_MINOR_VERSION, CK_PATCH_VERSION);
printf("%s", "ck Copyright (C) 2018 gramanas\n"
"This program comes with ABSOLUTELY NO WARRANTY.\n"
"This is free software, and you are welcome to redistribute it under\n"