Commit 338f5786 authored by Jesse Noller's avatar Jesse Noller

merge 66184 to fix issue3110 to py3k

parent a786f2b4
......@@ -71,6 +71,9 @@ Library
- 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
-----------------
......
......@@ -36,6 +36,17 @@
# define INVALID_HANDLE_VALUE (-1)
#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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment