aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbe.c b/qbe.c
index ceede55..5c22261 100644
--- a/qbe.c
+++ b/qbe.c
@@ -395,7 +395,7 @@ mkfunc(char *name, struct type *t, struct scope *s)
d->value = mkglobal("__func__", true);
scopeputdecl(s, "__func__", d);
/*
- needed for glibc's assert definition with __GNUC__=4
+ needed for glibc's assert definition with __GNUC__=2 __GNUC_MINOR__=4
XXX: this should also work at file scope, where it should evaluate to "toplevel"
*/
scopeputdecl(s, "__PRETTY_FUNCTION__", d);