Changeset 14032 for tools/grab/readpng.c
- Timestamp:
- 02/09/12 00:14:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/grab/readpng.c
r4899 r14032 56 56 #include <stdio.h> 57 57 #include <stdlib.h> 58 #include <zlib.h> 58 59 59 60 #include "png.h" /* libpng header; includes zlib.h */ … … 62 63 /* future versions of libpng will provide this macro: */ 63 64 #ifndef png_jmpbuf 65 #if (PNG_LIBPNG_VER < 10500) 64 66 # define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf) 67 #else 68 # define png_jmpbuf(png_jmpbuf) ((png_jmpbuf)->png_ptr) 65 69 #endif 66 70 #endif 67 71 68 72 static png_structp png_ptr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.