mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Change PARSE_PID to _Py_PARSE_PID (cleanup for r78946).
This commit is contained in:
parent
ab0a752788
commit
845085703c
2 changed files with 12 additions and 12 deletions
|
|
@ -43,15 +43,15 @@ PyAPI_FUNC(PyObject *) PyLong_GetInfo(void);
|
|||
|
||||
/* Issue #1983: pid_t can be longer than a C long on some systems */
|
||||
#if !defined(SIZEOF_PID_T) || SIZEOF_PID_T == SIZEOF_INT
|
||||
#define PARSE_PID "i"
|
||||
#define _Py_PARSE_PID "i"
|
||||
#define PyLong_FromPid PyLong_FromLong
|
||||
#define PyLong_AsPid PyLong_AsLong
|
||||
#elif SIZEOF_PID_T == SIZEOF_LONG
|
||||
#define PARSE_PID "l"
|
||||
#define _Py_PARSE_PID "l"
|
||||
#define PyLong_FromPid PyLong_FromLong
|
||||
#define PyLong_AsPid PyLong_AsLong
|
||||
#elif defined(SIZEOF_LONG_LONG) && SIZEOF_PID_T == SIZEOF_LONG_LONG
|
||||
#define PARSE_PID "L"
|
||||
#define _Py_PARSE_PID "L"
|
||||
#define PyLong_FromPid PyLong_FromLongLong
|
||||
#define PyLong_AsPid PyLong_AsLongLong
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue