Discussion:
[Python-3000-checkins] r66185 - in python/branches/py3k: Misc/NEWS Modules/_multiprocessing/multiprocessing.h
jesse.noller
2008-09-03 18:22:19 UTC
Permalink
Author: jesse.noller
Date: Wed Sep 3 20:22:19 2008
New Revision: 66185

Log:
merge 66184 to fix issue3110 to py3k


Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Misc/NEWS
python/branches/py3k/Modules/_multiprocessing/multiprocessing.h

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Wed Sep 3 20:22:19 2008
@@ -71,6 +71,9 @@

- The deprecation warnings for the camelCase threading API names were removed.

+- Issue #3110: multiprocessing fails to compiel on solaris 10 due to missing
+ SEM_VALUE_MAX.
+
Extension Modules
-----------------


Modified: python/branches/py3k/Modules/_multiprocessing/multiprocessing.h
==============================================================================
--- python/branches/py3k/Modules/_multiprocessing/multiprocessing.h (original)
+++ python/branches/py3k/Modules/_multiprocessing/multiprocessing.h Wed Sep 3 20:22:19 2008
@@ -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
*/

Loading...