On Fri, Feb 09, 2007 at 03:22:06PM -0600, omicronpersei8 imagemagick.org wrote:
> > Why not just use fseeko/ftello?
>
> We solved the problem with this patch in
magick/blob.c:
>
> #if defined(HAVE_FSEEKO)
> # define fseek fseeko
> # define ftell ftello
> #endif
Have you tested if this works? Simply replacing fseek/ftell
with
fseeko/ftello doesn't work based on my tests. Why? Because
the
function prototypes for fseeko/ftello are only defined if
_LARGEFILE_SOURCE is defined.
--
albert chin (china thewrittenword.com)
_______________________________________________
Magick-developers mailing list
Magick-developers imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers
|