Kaydet (Commit) 26eec587 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Issue #8864: Define _XOPEN_SOURCE on Solaris for the

multiprocessing module.
üst fb695014
...@@ -120,7 +120,8 @@ Tests ...@@ -120,7 +120,8 @@ Tests
Build 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? What's New in Python 2.7 beta 2?
================================ ================================
......
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
#define PY_SSIZE_T_CLEAN #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 "Python.h"
#include "structmember.h" #include "structmember.h"
#include "pythread.h" #include "pythread.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment