From 9419ef2b23e1b19a604b1e858837e3abfd684077 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 26 Oct 2018 18:17:00 +0300 Subject: Add pacth number in version --- src/ckinfo.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.3