From 7838976cf761ab54ff6956aabaaba866896ca60c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 26 Nov 1995 14:08:53 -0500 Subject: (NO_IMPLICIT_EXTERN_C): Define this again so that unistd.h doesn't get badly `fixed' for C++. (NO_IMPLICIT_EXTERN_C): Define this again so that unistd.h doesn't get badly `fixed' for C++. libg++ will now build with this definition. From-SVN: r10593 --- gcc/config/mips/iris5.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gcc') diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index 4cec4bc..7272698 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -108,11 +108,12 @@ Boston, MA 02111-1307, USA. */ /* The system header files are C++ aware. */ /* ??? Unfortunately, most but not all of the headers are C++ aware. - Specifically, curses.h is not, and libg++ won't build because of it - if this is defined. On the other hand, SGI has C++ packages with - header files in /usr/include, and they won't work unless this is - defined. We need some way to fix just those files that need fixing. */ -/* #define NO_IMPLICIT_EXTERN_C 1 */ + Specifically, curses.h is not, and as a consequence, defining this + used to prevent libg++ building. This is no longer the case so + define it again to prevent other problems, e.g. with getopt in + unistd.h. We still need some way to fix just those files that need + fixing. */ +#define NO_IMPLICIT_EXTERN_C 1 /* We don't support debugging info for now. */ #undef DBX_DEBUGGING_INFO -- cgit v1.1