cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl.dll version info

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 6 Nov 2003 12:35:48 +0100 (CET)

On Wed, 5 Nov 2003, Gisle Vanem wrote:

> I couldn't find a easy way to turn LIBCURL_VERSION_NUM into 7,9,10,0 (yes,
> it must be 4 values). Maybe there should be a libcurl.rc.in file parsed by
> Perl.
>
> Or define it in portions;
> #define LIBCURL_VERSION_NUM ((LIBCURL_MAJOR << 16) + \
> (LIBCURL_MINOR << 8) + \
> LIBCURL_PATCH)

Ah! I've already been considering to define it in portions like this, so I
guess this is a good opportunity to finally go ahead and make it so!

I've made it so in CVS now, can you make an updated patch that take advantage
of this info?

-- 
 Daniel - been obfuscating curl source code since 1998.
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-06