* cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
From-SVN: r39435
This commit is contained in:
parent
269592a892
commit
52b357ea12
@ -1,3 +1,7 @@
|
|||||||
|
2001-02-03 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
|
||||||
|
|
||||||
2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
* cpphash.h: Rename _ALIGN POOL_ALIGN.
|
* cpphash.h: Rename _ALIGN POOL_ALIGN.
|
||||||
|
@ -237,7 +237,11 @@ append_include_chain (pfile, dir, path, cxx_aware)
|
|||||||
new->ino = st.st_ino;
|
new->ino = st.st_ino;
|
||||||
new->dev = st.st_dev;
|
new->dev = st.st_dev;
|
||||||
if (path == SYSTEM)
|
if (path == SYSTEM)
|
||||||
|
#ifdef NO_IMPLICIT_EXTERN_C
|
||||||
|
new->sysp = 1;
|
||||||
|
#else
|
||||||
new->sysp = cxx_aware ? 1 : 2;
|
new->sysp = cxx_aware ? 1 : 2;
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
new->sysp = 0;
|
new->sysp = 0;
|
||||||
new->name_map = NULL;
|
new->name_map = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user