Subject: Re: Compile error in examples under MinGW

Re: Compile error in examples under MinGW

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 12 Dec 2010 10:55:46 +0100 (CET)

On Sat, 11 Dec 2010, Luis Lavena wrote:

> I've managed to get all the examples build against the static library
> changing LIBSSH2_API definition:

That reminds me that in libcurl we have a CURL_STATICLIB define set when
building the library static (on Windows) which then avoids the __declspec
stuff similar to your patch.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-12