aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 46757c5..237b8e6 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -444,7 +444,7 @@ lex (pfile, skip_evaluation)
return parse_charconst (pfile, tok_start, tok_end);
case CPP_NAME:
- if (!strcmp (tok_start, "defined"))
+ if (!strncmp (tok_start, "defined", 7))
return parse_defined (pfile);
op.op = INT;