diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 404494d5cd4..678c5d6e237 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-03 Jakub Jelinek + + * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C. + 2001-02-03 Neil Booth * cpphash.h: Rename _ALIGN POOL_ALIGN. diff --git a/gcc/cppinit.c b/gcc/cppinit.c index ff4cdb38bbb..8319ad987fb 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -237,7 +237,11 @@ append_include_chain (pfile, dir, path, cxx_aware) new->ino = st.st_ino; new->dev = st.st_dev; if (path == SYSTEM) +#ifdef NO_IMPLICIT_EXTERN_C + new->sysp = 1; +#else new->sysp = cxx_aware ? 1 : 2; +#endif else new->sysp = 0; new->name_map = NULL;