Revision: 8736 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8736&view=rev Author: mdboom Date: 2010年10月08日 18:16:15 +0000 (2010年10月08日) Log Message: ----------- [3082058] build _png.so on aix Modified Paths: -------------- branches/v1_0_maint/src/_png.cpp Modified: branches/v1_0_maint/src/_png.cpp =================================================================== --- branches/v1_0_maint/src/_png.cpp 2010年10月08日 01:32:08 UTC (rev 8735) +++ branches/v1_0_maint/src/_png.cpp 2010年10月08日 18:16:15 UTC (rev 8736) @@ -27,6 +27,11 @@ #include "numpy/arrayobject.h" #include "mplutils.h" +// As reported in [3082058] build _png.so on aix +#ifdef _AIX +#undef jmpbuf +#endif + // the extension module class _png_module : public Py::ExtensionModule<_png_module> { @@ -163,7 +168,7 @@ throw Py::RuntimeError("Could not create info struct"); } - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { throw Py::RuntimeError("Error building image"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.