[gst-devel] large file support
David I. Lehn
dlehn at vt.edu
Fri Sep 14 02:05:01 CEST 2001
* vishnu at pobox.com <vishnu at pobox.com> [20010914 04:49]:
> On Thu, Sep 13, 2001 at 07:35:48PM -0400, David I. Lehn wrote:
> > * vishnu at pobox.com <vishnu at pobox.com> [20010913 19:31]:
> > > +AC_TRY_RUN([
> > > +#define _LARGEFILE_SOURCE
> > > +#define _FILE_OFFSET_BITS 64
> > > +#include <sys/types.h>
> > > +int main () { return !(sizeof(off_t) == 8); }
> >
> > Anyone taking bets on how (non)portable this is?
>
> What do you mean? Are you suggesting i write !(sizeof(off_t) > 4) ?
>
No, I just think when Dent added similar defines to OMS way back that
some people whined that it didn't work for their Atari 800 compiler.
-dave
--
David I. Lehn <dlehn at vt.edu> | http://www.lehn.org/~dlehn/
Computer Engineering Graduate @ Virginia Tech in sunny Blacksburg, VA
More information about the gstreamer-devel
mailing list