OSDN Git Service

* cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2001 20:48:32 +0000 (20:48 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2001 20:48:32 +0000 (20:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39435 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cppinit.c

index 404494d..678c5d6 100644 (file)
@@ -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.
index ff4cdb3..8319ad9 100644 (file)
@@ -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;