(file) Return to mypng.h CVS log (file) (dir) Up to [Development] / JSOC / base

File: [Development] / JSOC / base / mypng.h (download)
Revision: 1.2, Fri Jul 18 17:20:07 2008 UTC (14 years, 4 months ago) by arta
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_DRMSLATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-9, Ver_5-8, Ver_5-7, Ver_5-6, Ver_5-5, Ver_5-3, Ver_5-2, Ver_5-14, Ver_5-13, Ver_5-12, Ver_5-11, Ver_5-10, Ver_5-1, Ver_5-0, Ver_4-7, Ver_4-6, Ver_4-5, NetDRMS_Ver_LATEST, NetDRMS_Ver_9-9, NetDRMS_Ver_9-5, NetDRMS_Ver_9-41, NetDRMS_Ver_9-4, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_8-8, NetDRMS_Ver_8-7, NetDRMS_Ver_8-6, NetDRMS_Ver_8-5, NetDRMS_Ver_8-4, NetDRMS_Ver_8-3, NetDRMS_Ver_8-2, NetDRMS_Ver_8-12, NetDRMS_Ver_8-11, NetDRMS_Ver_8-10, NetDRMS_Ver_8-1, NetDRMS_Ver_8-0, NetDRMS_Ver_7-1, NetDRMS_Ver_7-0, NetDRMS_Ver_6-4, NetDRMS_Ver_6-3, NetDRMS_Ver_6-2, NetDRMS_Ver_6-1, NetDRMS_Ver_6-0, NetDRMS_Ver_2-7, NetDRMS_Ver_2-6, NetDRMS_Ver_2-5, NetDRMS_Ver_2-4, NetDRMS_Ver_2-3, NetDRMS_Ver_2-2, NetDRMS_Ver_2-1, NetDRMS_Ver_2-0b1, NetDRMS_Ver_2-0b, NetDRMS_Ver_2-0a2, NetDRMS_Ver_2-0a1, NetDRMS_Ver_2-0a, NetDRMS_Ver_2-0, NetDRMS_Ver_1-1, NetDRMS_Ver_1-0, HEAD
Changes since 1.1: +1 -0 lines
Fix for ingest_lev0 not building.  add_small_image.c was including png.h instead of mypng.h

#ifndef _MYPNG_H
#define _MYPNG_H

#ifdef _SETJMP_H
#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."
#endif

#undef PNG_H
#undef PNGCONF_H
#include <png.h>

#endif

Karen Tian
Powered by
ViewCVS 0.9.4