summaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-10 16:03:41 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-10-10 16:54:10 -0300
commit74cdaf8e5fe459abfcf39de7cf41bfc375a99e2a (patch)
treebbe363ccefbe1d703c07a609302de440bbd38f2a /libshiboken
parentd034778797fe13f21c35f15260ad4dd801b3757c (diff)
downloadshiboken-74cdaf8e5fe459abfcf39de7cf41bfc375a99e2a.tar.gz
shiboken-74cdaf8e5fe459abfcf39de7cf41bfc375a99e2a.tar.xz
shiboken-74cdaf8e5fe459abfcf39de7cf41bfc375a99e2a.zip
Fix PySide compilation with Python 2.5.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/python25compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/python25compat.h b/libshiboken/python25compat.h
index 09353391..494f5841 100644
--- a/libshiboken/python25compat.h
+++ b/libshiboken/python25compat.h
@@ -71,6 +71,7 @@ typedef struct {
#define PyBytes_AS_STRING PyString_AS_STRING
#define PyBytes_AsString PyString_AsString
#define PyBytes_Concat PyString_Concat
+#define PyBytes_Size PyString_Size
inline PyObject* PyUnicode_FromString(const char* s)
{