mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #9318: Use Py_LL for old compiler.
This commit is contained in:
parent
44ef7749dc
commit
f13c6d8d34
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
|
|||
|
||||
/* In the NT API, the timeout is a DWORD and is expressed in milliseconds */
|
||||
#if defined (NT_THREADS)
|
||||
#if (0xFFFFFFFFLL * 1000 < PY_TIMEOUT_MAX)
|
||||
#if (Py_LL(0xFFFFFFFF) * 1000 < PY_TIMEOUT_MAX)
|
||||
#undef PY_TIMEOUT_MAX
|
||||
#define PY_TIMEOUT_MAX (0xFFFFFFFFLL * 1000)
|
||||
#define PY_TIMEOUT_MAX (Py_LL(0xFFFFFFFF) * 1000)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue