cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem compiling with msys/mingw

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 24 Nov 2004 11:39:03 +0100

"Daniel Stenberg" 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?

ftruncate() doesn't exist for any Win32 compiler except Digital Mars. Maybe
Andres' AC linked to some non-standard libs (Glib, GnuWin lib)?

Besides it would probably not hurt to replace ftruncate() in src/main.c.

--gv
Received on 2004-11-24