diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d99ea83db9d..6609f9c7e7b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-05-25 Tom Tromey + + * python/py-value.c (value_object_as_number): Use correct spelling + of HAVE_LIBPYTHON2_4. + 2016-05-25 Bernhard Heckel * f-typeprint.c (f_type_print_base): Replace 0 by show. diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 7a2a235d7e7..21e9247857a 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -1841,10 +1841,10 @@ static PyNumberMethods value_object_as_number = { valpy_divide, /* nb_true_divide */ NULL, /* nb_inplace_floor_divide */ NULL, /* nb_inplace_true_divide */ -#ifndef HAVE_LIBPYTHON_2_4 +#ifndef HAVE_LIBPYTHON2_4 /* This was added in Python 2.5. */ valpy_long, /* nb_index */ -#endif /* HAVE_LIBPYTHON_2_4 */ +#endif /* HAVE_LIBPYTHON2_4 */ }; static PyMappingMethods value_object_as_mapping = {