From 1c033f8c7197bfb01ee804876589b4fb5ca61290 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 28 Jun 2011 13:09:12 +0000 Subject: * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. --- gdb/python/python-internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/python/python-internal.h') diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index b65109d..996b23b 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -41,6 +41,9 @@ around technique as above. */ #undef _FILE_OFFSET_BITS +/* Request clean size types from Python. */ +#define PY_SSIZE_T_CLEAN + /* Include the Python header files using angle brackets rather than double quotes. On case-insensitive filesystems, this prevents us from including our python/python.h header file. */ -- cgit v1.1