diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-11 22:35:24 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-11 22:35:24 (GMT) |
commit | f13c6d8d34778c2aa2c35c490acb2bc580cc417a (patch) | |
tree | facaf3e1137ab57de2b3541821eb49b718fad422 | |
parent | 44ef7749dc498dae079e3b743e61058ead7b9fbf (diff) | |
download | cpython-f13c6d8d34778c2aa2c35c490acb2bc580cc417a.zip cpython-f13c6d8d34778c2aa2c35c490acb2bc580cc417a.tar.gz cpython-f13c6d8d34778c2aa2c35c490acb2bc580cc417a.tar.bz2 |
Issue #9318: Use Py_LL for old compiler.
-rw-r--r-- | Include/pythread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pythread.h b/Include/pythread.h index 9c93f0e..ff8fdd2 100644 --- a/Include/pythread.h +++ b/Include/pythread.h @@ -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 |