005-fix-ftell-macro.patch 336 B

1234567891011
  1. --- a/libtiff/tiffiop.h
  2. +++ b/libtiff/tiffiop.h
  3. @@ -286,7 +286,7 @@ struct tiff {
  4. */
  5. #if defined(HAVE_FSEEKO)
  6. # define fseek(stream,offset,whence) fseeko(stream,offset,whence)
  7. -# define ftell(stream,offset,whence) ftello(stream,offset,whence)
  8. +# define ftell(stream) ftello(stream)
  9. #endif
  10. #endif
  11. #if defined(__WIN32__) && \