Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a786f2b commit 338f578Copy full SHA for 338f578
2 files changed
Misc/NEWS
@@ -71,6 +71,9 @@ Library
71
72
- The deprecation warnings for the camelCase threading API names were removed.
73
74
+- Issue #3110: multiprocessing fails to compiel on solaris 10 due to missing
75
+ SEM_VALUE_MAX.
76
+
77
Extension Modules
78
-----------------
79
Modules/_multiprocessing/multiprocessing.h
@@ -36,6 +36,17 @@
36
# define INVALID_HANDLE_VALUE (-1)
37
#endif
38
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
/*
51
* Make sure Py_ssize_t available
52
*/
0 commit comments