8000 revert accidental commit of WrapPython which was testing for swab bug · matplotlib/matplotlib@c716d21 · GitHub
[go: up one dir, main page]

Skip to content

Commit c716d21

Browse files
committed
revert accidental commit of WrapPython which was testing for swab bug
svn path=/trunk/matplotlib/; revision=8483
1 parent 9b1249e commit c716d21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CXX/WrapPython.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@
4444
#endif
4545

4646
// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
47+
#if defined(__sun) || defined(sun)
48+
#if defined(_XPG4)
4749
#undef _XPG4
50+
#endif
51+
#endif
4852

4953
// Python.h will redefine these and generate warning in the process
5054
#undef _XOPEN_SOURCE

0 commit comments

Comments
 (0)
0