aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/python25compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/python25compat.h')
-rw-r--r--libshiboken/python25compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/python25compat.h b/libshiboken/python25compat.h
index 09353391b..494f58410 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)
{