projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269592a
)
* cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
author
Jakub Jelinek
<jakub@redhat.com>
Sat, 3 Feb 2001 20:48:32 +0000
(21:48 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Sat, 3 Feb 2001 20:48:32 +0000
(21:48 +0100)
From-SVN: r39435
gcc/ChangeLog
patch
|
blob
|
history
gcc/cppinit.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 404494d5cd41781eb01a4c7db51112e6793ebb37..678c5d6e237cc0d052caa3d5efe54be386e272fa 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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>
* cpphash.h: Rename _ALIGN POOL_ALIGN.
diff --git
a/gcc/cppinit.c
b/gcc/cppinit.c
index ff4cdb38bbb7709abda21d534cda0e3cbdb82064..8319ad987fb5c3fdfc626ea92301002036b252cc 100644
(file)
--- 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;