]> granicus.if.org Git - python/commitdiff
Issue #9318: Use Py_LL for old compiler.
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sat, 11 Sep 2010 22:35:24 +0000 (22:35 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sat, 11 Sep 2010 22:35:24 +0000 (22:35 +0000)
Include/pythread.h

index 9c93f0e7f5be6dca5b0d5df1570778ae38e2b4ef..ff8fdd269417cdf90c5efeffdf28f62a0ca342be 100644 (file)
@@ -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