Revision: 8483
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8483&view=rev
Author: jdh2358
Date: 2010-07-02 17:24:37 +0000 (Fri, 02 Jul 2010)
Log Message:
-----------
revert accidental commit of WrapPython which was testing for swab bug
Modified Paths:
--------------
trunk/matplotlib/CXX/WrapPython.h
Modified: trunk/matplotlib/CXX/WrapPython.h
===================================================================
--- trunk/matplotlib/CXX/WrapPython.h 2010-07-02 17:22:49 UTC (rev 8482)
+++ trunk/matplotlib/CXX/WrapPython.h 2010-07-02 17:24:37 UTC (rev 8483)
@@ -44,7 +44,11 @@
#endif
// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
+#if defined(__sun) || defined(sun)
+#if defined(_XPG4)
#undef _XPG4
+#endif
+#endif
// Python.h will redefine these and generate warning in the process
#undef _XOPEN_SOURCE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|