diff options
author | Jesse Noller <jnoller@gmail.com> | 2008-09-03 18:22:19 +0000 |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2008-09-03 18:22:19 +0000 |
commit | 7c38b4488bc65d862c60695b340279be4029f66e (patch) | |
tree | 868884bafc196ddb37ec6ac10f9ee42017dd3aa7 /Modules/_multiprocessing/multiprocessing.h | |
parent | 785044921dd8f3d86a51df2726af1f32cfba4c1c (diff) | |
download | cpython-7c38b4488bc65d862c60695b340279be4029f66e.tar.gz |
merge 66184 to fix issue3110 to py3k
Diffstat (limited to 'Modules/_multiprocessing/multiprocessing.h')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h index 57eb7b4b98..ec5042c9d6 100644 --- a/Modules/_multiprocessing/multiprocessing.h +++ b/Modules/_multiprocessing/multiprocessing.h @@ -37,6 +37,17 @@ #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 */ |