Ticket #36214: patch-wrlib_png.c.diff

File patch-wrlib_png.c.diff, 402 bytes (added by wlux, 12 years ago)

The patch as a file

  • wrlib/png.c

    old new  
    9797    }
    9898
    9999    RErrorCode = RERR_INTERNAL;
    100     if (setjmp(png->jmpbuf)) {
     100#ifndef png_jmpbuf
     101# define png_jmpbuf(png) (png)->jmpbuf
     102#endif
     103    if (setjmp(png_jmpbuf(png))) {
    101104        fclose(f);
    102105        png_destroy_read_struct(&png, &pinfo, &einfo);
    103106        if (image)