[PATCH] Cygwin compile fix (was: Re: Cygwin compilation problem)

Joey Parrish joey at nicewarrior.org
Tue Nov 8 15:42:03 CET 2005


On Tue, Nov 08, 2005 at 02:59:33PM +0100, Sam Hocevar wrote:
> On Tue, Nov 08, 2005, Diego Biurrun wrote:
> > > Subversion does not compile either.  Here is the fix from MPlayer CVS.
> > > Please apply or commit a different fix that I can port to MPlayer then.
> > 
> > Rejected?  Applied?  No interest?
> 
>    I have no Cygwin system to test it. But from what I see, this patch
> simply uses lseek instead of the non (no longer?) existent _lseeki64.
> What is expected together with such a patch is an explanation on whether
> lseek understands 64 bit offsets in Cygwin.

Cygwin wrapper provides 64-bit lseek and defines off_t as a 64-bit type.
MinGW uses MSVCRT lseek, which is 32-bit.  MSVCRT also exports the
obscure _lseeki64, which is the MS 64-bit version.  This function is not
available in Cygwin.

--Joey

-- 
"Indeed do many things come to pass."
  HBT; The Book of Predictions, Chap. 19

-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the libdvdcss-devel mailing list