cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: "Separate DLL names for debug/release on Win32""

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 1 Nov 2004 15:11:07 +0100 (CET)

On Sat, 30 Oct 2004, Gisle Vanem wrote:

> It's still needed. But why can't we remove the .def-file(s) all together?
> And mark every exportable variable and function correctly. I suggest we add
> something like this to curl.h:
>
> #if defined(WIN32) || defined(NETWARE)
> #ifdef BUILDING_LIBCURL
> #define CURL_EXTERN __declspec(dllexport)

I agree.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-01