aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cpphash.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c6cd9a7..4422685 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
+
+ * cpphash.c (special_symbol): Fix thinko in previous commit.
+
2000-03-07 Neil Booth <NeilB@earthling.net>
* cppexp.c (struct operation, left_shift, right_shift,
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index e5c4c71..410c916 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -899,7 +899,7 @@ special_symbol (hp, pfile)
while (!ip->nominal_fname && ip != CPP_NULL_BUFFER (pfile))
ip = CPP_PREV_BUFFER (ip);
if (ip->system_header_p
- && !cpp_lookup (pfile, (const U_CHAR *) "__STRICT_ANSI__", 15))
+ && !cpp_defined (pfile, (const U_CHAR *) "__STRICT_ANSI__", 15))
CPP_PUTC_Q (pfile, '0');
else
#endif