aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 8cf1d5f..d11364d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -14,8 +14,11 @@ static char *endfiles[] = {
static char *preprocesscmd[] = {
"cpp", "-P",
- /* prevent libc from using GNU C extensions */
- "-U", "__GNUC__",
+ /* specify the GNU C extensions we support */
+ "-U", "__GNUC__", "-D", "__GNUC__=4",
+
+ /* prevent glibc from using statement expressions for assert */
+ "-D", "__STRICT_ANSI__",
/* required for glibc headers */
"-D", "__restrict=restrict",