On Thu, 3 Sep 2015, bch wrote:

What does this offer over

#ifdef CURL_SOCKOPT_ERROR

, or how is it different ?

That's a really good question.

Come to think of it, the only real advantage it offers compared to that is that it also works for enums, and looking at our list of symbols I think the majority of them are enums...

Also, the way the script works you can take a new header file and put it into a very old libcurl source code and it would still work. Although I'm not sure that's terribly valuable.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to