mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
merge 66184 to fix issue3110 to py3k
This commit is contained in:
parent
a786f2b498
commit
338f5786ea
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue