mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
fix spelling of HAVE_LIBPYTHON2_4 in py-value.c
Ulrich pointed out that an earlier patch had misspelled HAVE_LIBPYTHON2_4, adding an extra "_". This caused a build failure. This patch fixes the bug. 2016-05-25 Tom Tromey <tom@tromey.com> * python/py-value.c (value_object_as_number): Use correct spelling of HAVE_LIBPYTHON2_4.
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user