cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem compiling with msys/mingw

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 24 Nov 2004 10:44:15 +0100 (CET)

On Tue, 23 Nov 2004, Andrés García wrote:

> +/* Define to 1 if you have the `ftruncate' function. */
> +#define HAVE_FTRUNCATE 1

This seems to contradict previous changes done by Gisle. I guess ftruncate()
exists in mingw but not in MSVC?

If so, this definition surely needs a #ifdef __MINGW32__ around it?

-- 
      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-24