diff options
author | Tom Tromey <tromey@redhat.com> | 2011-06-28 13:09:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-06-28 13:09:12 +0000 |
commit | 1c033f8c7197bfb01ee804876589b4fb5ca61290 (patch) | |
tree | faf0b978ee959bd648d1a03d0e28718dd745dc82 /gdb/python | |
parent | e1f4d6bd07bd37201961f3efc3705cdd3b1611bf (diff) | |
download | gdb-1c033f8c7197bfb01ee804876589b4fb5ca61290.zip gdb-1c033f8c7197bfb01ee804876589b4fb5ca61290.tar.gz gdb-1c033f8c7197bfb01ee804876589b4fb5ca61290.tar.bz2 |
* python/python-internal.h (PY_SSIZE_T_CLEAN): Define.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/python-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
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. */ |