diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-02-03 21:48:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-02-03 21:48:32 +0100 |
commit | 52b357ea122caec736f311fecec2b3b9a0296da9 (patch) | |
tree | 2806dd9d6fac7b0da7735b6e56b9ebe6d02172b1 /gcc/cppinit.c | |
parent | 269592a892fd7b1e656dfe696b3c6fd7c033f5f1 (diff) | |
download | gcc-52b357ea122caec736f311fecec2b3b9a0296da9.zip gcc-52b357ea122caec736f311fecec2b3b9a0296da9.tar.gz gcc-52b357ea122caec736f311fecec2b3b9a0296da9.tar.bz2 |
* cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
From-SVN: r39435
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index ff4cdb3..8319ad9 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; |