summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-11-01 20:01:44 +0000
committerSimon Josefsson <simon@josefsson.org>2005-11-01 20:01:44 +0000
commit8895cf934313db3f85d92378cd09fed16c20e3c9 (patch)
treee23ce28e3e9df17eaa134a1297a3c52ba8cdeb0e /includes
parentadb904253c671d2a6ad697132ed93ddd6f78adb9 (diff)
downloadgnutls-8895cf934313db3f85d92378cd09fed16c20e3c9.tar.gz
Add numeric version numbers, for CPP version comparisons.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/gnutls.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in
index bbeddd4fe3..f21d8ea203 100644
--- a/includes/gnutls/gnutls.h.in
+++ b/includes/gnutls/gnutls.h.in
@@ -42,6 +42,12 @@ extern "C" {
#define LIBGNUTLS_VERSION "@VERSION@"
+#define LIBGNUTLS_VERSION_MAJOR @MAJOR_VERSION@
+#define LIBGNUTLS_VERSION_MINOR @MINOR_VERSION@
+#define LIBGNUTLS_VERSION_PATCH @PATCH_VERSION@
+
+#define LIBGNUTLS_VERSION_NUMBER @NUMBER_VERSION@
+
@POSSIBLY_WARN_ABOUT_MISSING_FEATURES@
/* Get size_t. */