mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou
This commit is contained in:
parent
ac25fab12f
commit
b814d6a704
2 changed files with 14 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ Library
|
||||||
- Issue #3708: os.urandom no longer goes into an infinite loop when passed a
|
- Issue #3708: os.urandom no longer goes into an infinite loop when passed a
|
||||||
non-integer floating point number.
|
non-integer floating point number.
|
||||||
|
|
||||||
|
- Issue #3110: multiprocessing fails to compiel on solaris 10 due to missing
|
||||||
|
SEM_VALUE_MAX.
|
||||||
|
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,17 @@
|
||||||
# define INVALID_HANDLE_VALUE (-1)
|
# define INVALID_HANDLE_VALUE (-1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Issue 3110 - Solaris does not define SEM_VALUE_MAX
|
||||||
|
*/
|
||||||
|
#ifndef SEM_VALUE_MAX
|
||||||
|
# ifdef _SEM_VALUE_MAX
|
||||||
|
# define SEM_VALUE_MAX _SEM_VALUE_MAX
|
||||||
|
# else
|
||||||
|
# define SEM_VALUE_MAX INT_MAX
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Make sure Py_ssize_t available
|
* Make sure Py_ssize_t available
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue