aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-18 11:28:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 11:29:06 +0200
commit0b26b94bdc2c28da0443503305ee9670b01c1337 (patch)
tree8ec1300d4d9003102a99d5c6d46195a6550a2b35 /include
parent4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 (diff)
curlver: restore LIBCURL_VERSION_NUM defined as a full number
As it breaks configure, curl-config and test 1023 if not.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curlver.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/curl/curlver.h b/include/curl/curlver.h
index ad85e5093..be442eff8 100644
--- a/include/curl/curlver.h
+++ b/include/curl/curlver.h
@@ -52,10 +52,12 @@
This 6-digit (24 bits) hexadecimal number does not show pre-release number,
and it is always a greater number in a more recent release. It makes
comparisons with greater than and less than work.
+
+ Note: This define is the full hex number and _does not_ use the
+ CURL_VERSION_BITS() macro since curl's own configure script greps for it
+ and needs it to contain the full number.
*/
-#define LIBCURL_VERSION_NUM CURL_VERSION_BITS(LIBCURL_VERSION_MAJOR, \
- LIBCURL_VERSION_MINOR, \
- LIBCURL_VERSION_PATCH)
+#define LIBCURL_VERSION_NUM 0x072B00
/*
* This is the date and time when the full source package was created. The