| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Python
Revision: 66184
Author: jesse.noller
Date: 03 Sep 2008 14:10:30
Changes:Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou
Files:| ... | ...@@ -83,6 +83,9 @@ | |
| 83 | 83 | - Issue #3708: os.urandom no longer goes into an infinite loop when passed a |
| 84 | 84 | non-integer floating point number. |
| 85 | 85 | |
| 86 | - Issue #3110: multiprocessing fails to compiel on solaris 10 due to missing | |
| 87 | SEM_VALUE_MAX. | |
| 88 | ||
| 86 | 89 | Extension Modules |
| 87 | 90 | ----------------- |
| 88 | 91 |
| ... | ...@@ -37,6 +37,17 @@ | |
| 37 | 37 | #endif |
| 38 | 38 | |
| 39 | 39 | /* |
| 40 | * Issue 3110 - Solaris does not define SEM_VALUE_MAX | |
| 41 | */ | |
| 42 | #ifndef SEM_VALUE_MAX | |
| 43 | # ifdef _SEM_VALUE_MAX | |
| 44 | # define SEM_VALUE_MAX _SEM_VALUE_MAX | |
| 45 | # else | |
| 46 | # define SEM_VALUE_MAX INT_MAX | |
| 47 | # endif | |
| 48 | #endif | |
| 49 | ||
| 50 | /* | |
| 40 | 51 | * Make sure Py_ssize_t available |
| 41 | 52 | */ |
| 42 | 53 |