diff options
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 7dba0ad..268f6c8 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -1827,6 +1827,9 @@ static PyNumberMethods value_object_as_number = { NULL, /* nb_inplace_add */ NULL, /* nb_inplace_subtract */ NULL, /* nb_inplace_multiply */ +#ifndef IS_PY3K + NULL, /* nb_inplace_divide */ +#endif NULL, /* nb_inplace_remainder */ NULL, /* nb_inplace_power */ NULL, /* nb_inplace_lshift */ |