SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

From: <md...@us...> - 2010年10月08日 18:16:21
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.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /