cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem compiling with msys/mingw

From: Andrés García <fandom_at_retemail.es>
Date: Wed, 24 Nov 2004 00:20:53 +0100

Hi,

> > -#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB)
> > +
> > +#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB) &&
> > !defined(__MINGW32__) +
>
> What is this good for?

To get it to compile with mingw, without it I get lots of 'undefined reference
to __imp__whateverfunction', which, I must admit, I have no idea what it
means.

> You have just undone the patches needed to build
> without a .def-file on Windows.

Does the MINGW32 symbol bother either MSCV or Borland?

Andres
Received on 2004-11-24