summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorSøren Holm2014-10-01 16:14:02 +0200
committerKarel Zak2014-10-14 12:03:54 +0200
commit10e1d2e5f7e516344d9ba87e25da4dccee13913d (patch)
tree035f5863046ff8471ea39b96281ae12581fd9e5a /libmount/src/libmount.h.in
parentdmesg: improve reltime colors (diff)
downloadkernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.tar.gz
kernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.tar.xz
kernel-qcow2-util-linux-10e1d2e5f7e516344d9ba87e25da4dccee13913d.zip
libmount: provide version as int for better compiletime test
Signed-off-by: Søren Holm <sgh@sgh.dk>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r--libmount/src/libmount.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index d54e87665..91e22874c 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -30,6 +30,9 @@ extern "C" {
#include <sys/types.h>
#define LIBMOUNT_VERSION "@LIBMOUNT_VERSION@"
+#define LIBMOUNT_MAJOR_VERSION @LIBMOUNT_MAJOR_VERSION@
+#define LIBMOUNT_MINOR_VERSION @LIBMOUNT_MINOR_VERSION@
+#define LIBMOUNT_PATCH_VERSION @LIBMOUNT_PATCH_VERSION@
/**
* libmnt_cache: