aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 4226cb1d1a0..28e32554472 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -8338,7 +8338,7 @@ enum defined_HAVE_PGTK { defined_HAVE_PGTK = false };
8338 then xbacktrace could fail. Similarly for the other enums and 8338 then xbacktrace could fail. Similarly for the other enums and
8339 their values. Some non-GCC compilers don't like these constructs. */ 8339 their values. Some non-GCC compilers don't like these constructs. */
8340#ifdef __GNUC__ 8340#ifdef __GNUC__
8341union 8341extern union enums_for_gdb
8342{ 8342{
8343 enum CHARTAB_SIZE_BITS CHARTAB_SIZE_BITS; 8343 enum CHARTAB_SIZE_BITS CHARTAB_SIZE_BITS;
8344 enum char_table_specials char_table_specials; 8344 enum char_table_specials char_table_specials;
@@ -8353,5 +8353,6 @@ union
8353 enum pvec_type pvec_type; 8353 enum pvec_type pvec_type;
8354 enum defined_HAVE_X_WINDOWS defined_HAVE_X_WINDOWS; 8354 enum defined_HAVE_X_WINDOWS defined_HAVE_X_WINDOWS;
8355 enum defined_HAVE_PGTK defined_HAVE_PGTK; 8355 enum defined_HAVE_PGTK defined_HAVE_PGTK;
8356} const EXTERNALLY_VISIBLE gdb_make_enums_visible = {0}; 8356} const gdb_make_enums_visible;
8357union enums_for_gdb const EXTERNALLY_VISIBLE gdb_make_enums_visible = {0};
8357#endif /* __GNUC__ */ 8358#endif /* __GNUC__ */