cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link error building curl.exe on Windows using VC9

From: Guenter <lists_at_gknw.net>
Date: Thu, 02 Sep 2010 04:39:58 +0200

Am 02.09.2010 03:06, schrieb Adam Light:
> On Wed, Sep 1, 2010 at 5:38 PM, Dan Fandrich<dan_at_coneharvesters.com> wrote:
>> That looks like the kind of thing that would be more appropriate to have in
>> setup.h rather than config-win32.h. IMHO, config-*.h should mirror the
>> autoconf-generated version and contain mainly #define HAVE_THIS_OR_THAT.
>> People used to autoconf won't expect to find anything much more
>> sophisticated in there.
>
> In addition, putting the definition in config-win32.h doesn't actually
> fix the problem. I think that's because config-win32.h is included
> before sys/stat.h is included, and the S_IFREG and S_IFMT macros,
> which are used in the definition of S_ISREG, have not yet been
> defined.
ok, just moved to end of setup.h where sys/stat.h should already be
included.

Please verify!

thanks, Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-02