[Python-checkins] r84724 - python/branches/py3k/Include/pythread.h

hirokazu.yamamoto python-checkins at python.org
Sun Sep 12 00:35:24 CEST 2010


Author: hirokazu.yamamoto
Date: Sun Sep 12 00:35:24 2010
New Revision: 84724

Log:
Issue #9318: Use Py_LL for old compiler.

Modified:
   python/branches/py3k/Include/pythread.h

Modified: python/branches/py3k/Include/pythread.h
==============================================================================
--- python/branches/py3k/Include/pythread.h	(original)
+++ python/branches/py3k/Include/pythread.h	Sun Sep 12 00:35:24 2010
@@ -39,9 +39,9 @@
 
 /* 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
 


More information about the Python-checkins mailing list