mirror of https://github.com/python/cpython
Issue #8864: Define _XOPEN_SOURCE on Solaris for the
multiprocessing module.
This commit is contained in:
parent
fb6950140a
commit
26eec58770
|
@ -120,7 +120,8 @@ Tests
|
|||
Build
|
||||
-----
|
||||
|
||||
- Issue #1759169: Drop _XOPEN_SOURCE on Solaris.
|
||||
- Issues #1759169, #8864: Drop _XOPEN_SOURCE on Solaris, define it for
|
||||
multiprocessing only.
|
||||
|
||||
What's New in Python 2.7 beta 2?
|
||||
================================
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#ifdef __sun
|
||||
/* The control message API is only available on Solaris
|
||||
if XPG 4.2 or later is requested. */
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
#include "pythread.h"
|
||||
|
|
Loading…
Reference in New Issue