Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b814d6a7
Commit
b814d6a7
authored
Sep 03, 2008
by
Jesse Noller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou
parent
ac25fab1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_multiprocessing/multiprocessing.h
Modules/_multiprocessing/multiprocessing.h
+11
-0
No files found.
Misc/NEWS
View file @
b814d6a7
...
...
@@ -83,6 +83,9 @@ Library
- Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
- Issue #3110: multiprocessing fails to compiel on solaris 10 due to missing
SEM_VALUE_MAX.
Extension Modules
-----------------
...
...
Modules/_multiprocessing/multiprocessing.h
View file @
b814d6a7
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment