comparison Python/pythonrun.c @ 36844:4284b3324ce2 legacy-trunk

Use %Id for size_t-ish things on Win64.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 05 Mar 2006 05:33:54 +0000
parents 3a3aed49b245
children 4f628ecc30cb
comparison
equal deleted inserted replaced
36843:1848d75bbdb3 36844:4284b3324ce2
31 31
32 #ifndef Py_REF_DEBUG 32 #ifndef Py_REF_DEBUG
33 # define PRINT_TOTAL_REFS() 33 # define PRINT_TOTAL_REFS()
34 #else /* Py_REF_DEBUG */ 34 #else /* Py_REF_DEBUG */
35 # if defined(MS_WIN64) 35 # if defined(MS_WIN64)
36 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%zd refs]\n", _Py_RefTotal); 36 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id refs]\n", _Py_RefTotal);
37 # else /* ! MS_WIN64 */ 37 # else /* ! MS_WIN64 */
38 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); 38 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
39 # endif /* MS_WIN64 */ 39 # endif /* MS_WIN64 */
40 #endif 40 #endif
41 41