From: Andreas Schwab Date: Sat, 8 Nov 2003 18:49:00 +0000 (+0000) Subject: dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e139ff5bdafba1214616e1e3f72f224cdfa1eb64;p=gcc.git dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO. * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO. From-SVN: r73370 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a71a779ff34..7835708d52c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-08 Andreas Schwab + + * dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO || + XCOFF_DEBUGGING_INFO. + 2003-11-08 Kaveh R. Ghazi * dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 94193313072..dee3839974a 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -203,7 +203,8 @@ struct dbx_file should always be 0 because we should not have needed any file numbers yet. */ -#ifdef DBX_USE_BINCL +#if (defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)) \ + && defined (DBX_USE_BINCL) static struct dbx_file *current_file; #endif