aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-11-26 14:08:53 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-11-26 14:08:53 -0500
commit7838976cf761ab54ff6956aabaaba866896ca60c (patch)
treeccba275db1e354c7414cede8bff3fb05e5cb2a9f /gcc
parentd89ddcfd09139b69a992abbcfbd4d2f98b3fac7e (diff)
downloadgcc-7838976cf761ab54ff6956aabaaba866896ca60c.zip
gcc-7838976cf761ab54ff6956aabaaba866896ca60c.tar.gz
gcc-7838976cf761ab54ff6956aabaaba866896ca60c.tar.bz2
(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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/iris5.h11
1 files changed, 6 insertions, 5 deletions
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