fseeko

Jeffrey M. Vinocur jeff at litech.org
Sun Mar 3 05:04:58 UTC 2002


On Sat, 2 Mar 2002, Russ Allbery wrote:

> Jeffrey M Vinocur <jeff at litech.org> writes:
>
> > I can't figure out what .h actually needs to be included to get the
> > prototype for fseeko on platforms which have it (e.g., linux).
>
> You need -D_GNU_SOURCE to get fseeko and ftello prototyped on Linux, with
> at least some versions of glibc.  It's a Linux-specific weirdness, to be
> hopefully eventually resolved by moving to a current version of autoconf
> and smarter large file macros.

Is configure using -D_GNU_SOURCE, then?  I don't see how it's detecting it
otherwise.


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list