ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/base/mypng.h
(Generate patch)

Comparing base/mypng.h (file contents):
Revision 1.1 by arta, Tue Jul 15 15:27:42 2008 UTC vs.
Revision 1.2 by arta, Fri Jul 18 18:20:07 2008 UTC

# Line 5 | Line 5
5   #pragma message "PNG/SETJMP WARNING: If png.h is #included (ingest_lev0 includes it) AND setjmp.h is #included before png.h, then pngconf.h will issue an error and stop compilation.  But this error is really not necessary - as long as pngconf.h includes the same setjmp.h as the file including setjmp.h, then there is no problem.  To work around this, either remove the first #include \"setjmp.h\" (because png.h will indirectly #include \"setjmp.h\"), recompile libpng and your code with the PNG_SETJMP_NOT_SUPPORTED flag (which will cause setjmp.h to not be included by png.h), or make your own custom version of libpng which is exactly the same as the orginal libpng, except that the errors on lines 264 and 265 of pngconf.h are commented out."
6   #endif
7  
8 + #undef PNG_H
9   #undef PNGCONF_H
10   #include <png.h>
11  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines