mirror of
https://github.com/python/cpython.git
synced 2025-07-20 17:55:21 +00:00
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
This commit is contained in:
parent
3fbf3204c5
commit
539c662f10
4 changed files with 37 additions and 2 deletions
|
@ -45,6 +45,20 @@
|
|||
#define SUN_LWP
|
||||
#endif
|
||||
|
||||
/* Check if we're running on HP-UX and _SC_THREADS is defined. If so, then
|
||||
enough of the Posix threads package is implimented to support python
|
||||
threads.
|
||||
|
||||
This is valid for HP-UX 11.23 running on an ia64 system. If needed, add
|
||||
a check of __ia64 to verify that we're running on a ia64 system instead
|
||||
of a pa-risc system.
|
||||
*/
|
||||
#ifdef __hpux
|
||||
#ifdef _SC_THREADS
|
||||
#define _POSIX_THREADS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _POSIX_THREADS */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue