]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curlver: restore LIBCURL_VERSION_NUM defined as a full number
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 May 2015 09:28:44 +0000 (11:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 May 2015 09:29:06 +0000 (11:29 +0200)
As it breaks configure, curl-config and test 1023 if not.

include/curl/curlver.h

index ad85e509353005dd7ac4e1d154707b394a0064b8..be442eff8f64410da03260bc69087d999b23fda7 100644 (file)
    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