diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-05 11:12:43 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-05 11:12:43 +0000 |
commit | f0fbff1f65bf170c3b241ae883280b0aa60c1538 (patch) | |
tree | 56c6bf29971babd62f6bc6061b2f155d94221317 /gcc | |
parent | 5d1954414ac0a11774cb866da630f79e28bdd132 (diff) | |
download | gcc-f0fbff1f65bf170c3b241ae883280b0aa60c1538.zip gcc-f0fbff1f65bf170c3b241ae883280b0aa60c1538.tar.gz gcc-f0fbff1f65bf170c3b241ae883280b0aa60c1538.tar.bz2 |
(main): Handle NO_IMPLICIT_EXTERN_C.
From-SVN: r6009
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cccp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1739,7 +1739,13 @@ main (argc, argv) strcat (str, p->fname + default_len); new->fname = str; new->control_macro = 0; +#ifdef NO_IMPLICIT_EXTERN_C + /* On some systems, the system header files are C++-compatible. + So don't pretend they are `extern "C"'. */ + new->c_system_include_path = 0; +#else new->c_system_include_path = !p->cplusplus; +#endif append_include_chain (new, new); if (first_system_include == 0) first_system_include = new; |