* python/python-value.c (values_in_python): Add specific initialization

to NULL to work-around a MacOS linker bug.
This commit is contained in:
Joel Brobecker 2008-12-08 17:13:30 +00:00
parent 39d6157133
commit 4be15b7a08
2 changed files with 8 additions and 1 deletions

View file

@ -30,7 +30,9 @@
can copy the values' types if needed. This is declared
unconditionally to reduce the number of uses of HAVE_PYTHON in the
generic code. */
struct value *values_in_python;
/* This variable is unnecessarily initialized to NULL in order to
work around a linker bug on MacOS. */
struct value *values_in_python = NULL;
#ifdef HAVE_PYTHON