* cpplib.c (do_define): Allow redefining __STDC__ with -D.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25109
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-02-09 10:30 -0500 Zack Weinberg <zack@rabi.columbia.edu>
+
+ * cpplib.c (do_define): Allow redefining __STDC__ with -D.
+
1999-02-09 Jim Blandy <jimb@zwingli.cygnus.com>
* configure.in: For PowerPC configurations, accept "401", "ec603e",
else if (hp->type == T_MACRO)
ok = ! compare_defs (pfile, mdef.defn, hp->value.defn);
/* Redefining a constant is ok with -D. */
- else if (hp->type == T_CONST)
+ else if (hp->type == T_CONST || hp->type == T_STDC)
ok = ! CPP_OPTIONS (pfile)->done_initializing;
/* Print the warning if it's not ok. */
if (!ok)