diff options
Diffstat (limited to 'contrib/gcc/c-lex.c')
-rw-r--r-- | contrib/gcc/c-lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/c-lex.c b/contrib/gcc/c-lex.c index a60fbb0..a4dcbaf 100644 --- a/contrib/gcc/c-lex.c +++ b/contrib/gcc/c-lex.c @@ -297,7 +297,7 @@ cb_file_change (pfile, new_map) } update_header_times (new_map->to_file); - in_system_header = new_map->sysp != 0; + in_system_header = (warn_system_headers && new_map->sysp != 0); input_filename = new_map->to_file; lineno = to_line; map = new_map; |