[Python-checkins] r43515 - python/trunk/Include/pyport.h (original) (raw)
anthony.baxter python-checkins at python.org
Sat Apr 1 03:08:30 CEST 2006
- Previous message: [Python-checkins] r43514 - in python/trunk: Lib/sqlite3 Lib/sqlite3/test Lib/test/regrtest.py Lib/test/test_sqlite.py Misc/NEWS Modules/_sqlite setup.py
- Next message: [Python-checkins] buildbot warnings in alpha Tru64 5.1 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: anthony.baxter Date: Sat Apr 1 03:08:29 2006 New Revision: 43515
Modified: python/trunk/Include/pyport.h Log: Add a clause to the PY_FORMAT_SIZE_T to stop warnings on 32 bit intel linux with gcc 4.0.2, after talking to Tim. But it won't break anything anywhere, so don't worry :-)
Modified: python/trunk/Include/pyport.h
--- python/trunk/Include/pyport.h (original) +++ python/trunk/Include/pyport.h Sat Apr 1 03:08:29 2006 @@ -124,7 +124,9 @@
- Py_ssize_t on the platform. */
#ifndef PY_FORMAT_SIZE_T -# if SIZEOF_SIZE_T == SIZEOF_LONG +# if SIZEOF_SIZE_T == SIZEOF_INT +# define PY_FORMAT_SIZE_T "" +# elif SIZEOF_SIZE_T == SIZEOF_LONG
define PY_FORMAT_SIZE_T "l"
elif defined(MS_WINDOWS)
define PY_FORMAT_SIZE_T "I"
- Previous message: [Python-checkins] r43514 - in python/trunk: Lib/sqlite3 Lib/sqlite3/test Lib/test/regrtest.py Lib/test/test_sqlite.py Misc/NEWS Modules/_sqlite setup.py
- Next message: [Python-checkins] buildbot warnings in alpha Tru64 5.1 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]