Ethereal-dev: Re: [Ethereal-dev] ftruncate() on Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Thu, 25 Nov 2004 14:08:32 +0100
"Gisle Vanem" wrote:

Since Ethereal doesn't use ftruncate(), I suggest (for it to compile
on MingW), we #undef it before including <unistd.h> in some files.
A cludge, but I can't see a better way at the moment.

On second thought, it's probably better to build w/o HAVE_UNISTD_H
until the Glib crew fixes this. Disregard my patch.

--gv