Commit 4a368461 by Richard Kenner

(is_system_include): Call skip_redundant_dir_prefix.

From-SVN: r10348
parent e922dbad
...@@ -4734,7 +4734,7 @@ is_system_include (filename) ...@@ -4734,7 +4734,7 @@ is_system_include (filename)
for (searchptr = first_system_include; searchptr; for (searchptr = first_system_include; searchptr;
searchptr = searchptr->next) searchptr = searchptr->next)
if (searchptr->fname) { if (searchptr->fname) {
register char *sys_dir = searchptr->fname; register char *sys_dir = skip_redundant_dir_prefix (searchptr->fname);
register unsigned length = strlen (sys_dir); register unsigned length = strlen (sys_dir);
if (! strncmp (sys_dir, filename, length) if (! strncmp (sys_dir, filename, length)
......
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