summaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 4d4302dcbca..d424a4146e9 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -988,12 +988,12 @@ cpp_get_token (pfile, token)
defined in a system header. Just checks the macro at the top of
the stack. Used for diagnostic suppression. */
int
-cpp_sys_objmacro_p (pfile)
+cpp_sys_macro_p (pfile)
cpp_reader *pfile;
{
cpp_macro *macro = pfile->context->macro;
- return macro && ! macro->fun_like && macro->syshdr;
+ return macro && macro->syshdr;
}
/* Read each token in, until EOF. Directives are transparently