ref: 0e62be95d920c3be8216823162e9d7c925d5e518
parent: c91781cb539c8c8d9bf20a37671f3451e24eb8ea
author: Quentin Rameau <quinq@fifth.space>
date: Thu Jul 21 10:19:41 EDT 2016
[cpp] fix definition of standard macros Define __STDC__, __STDC_HOSTED__, __SCC__ to 1 instead of empty
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -88,7 +88,7 @@
symfile = lookup(NS_CPP, "__FILE__");
for (bp = list; *bp; ++bp)
- defdefine(*bp, NULL);
+ defdefine(*bp, "1");
ncmdlines = 0;
}