diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2010-06-04 17:18:42 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2010-06-04 17:18:42 (GMT) |
| commit | 26eec5877017f805dbc4edd3f82df6ddd54b9315 (patch) | |
| tree | 207ab80f632ba4965438a626528c0324d3a7740f /Modules/_multiprocessing/multiprocessing.h | |
| parent | fb6950140ac46dfbd48361057e76eaf42d48e605 (diff) | |
| download | cpython-26eec5877017f805dbc4edd3f82df6ddd54b9315.zip cpython-26eec5877017f805dbc4edd3f82df6ddd54b9315.tar.gz cpython-26eec5877017f805dbc4edd3f82df6ddd54b9315.tar.bz2 | |
Issue #8864: Define _XOPEN_SOURCE on Solaris for the
multiprocessing module.
Diffstat (limited to 'Modules/_multiprocessing/multiprocessing.h')
| -rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h index c149634..14425de 100644 --- a/Modules/_multiprocessing/multiprocessing.h +++ b/Modules/_multiprocessing/multiprocessing.h @@ -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" |
