Commit f0fbff1f by Richard Stallman

(main): Handle NO_IMPLICIT_EXTERN_C.

From-SVN: r6009
parent 5d195441
...@@ -1739,7 +1739,13 @@ main (argc, argv) ...@@ -1739,7 +1739,13 @@ main (argc, argv)
strcat (str, p->fname + default_len); strcat (str, p->fname + default_len);
new->fname = str; new->fname = str;
new->control_macro = 0; 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; new->c_system_include_path = !p->cplusplus;
#endif
append_include_chain (new, new); append_include_chain (new, new);
if (first_system_include == 0) if (first_system_include == 0)
first_system_include = new; first_system_include = new;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment