summaryrefslogtreecommitdiffstats
path: root/tests/asschk.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asschk.c')
-rw-r--r--tests/asschk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asschk.c b/tests/asschk.c
index 2595c0a99..65828e5b2 100644
--- a/tests/asschk.c
+++ b/tests/asschk.c
@@ -116,7 +116,7 @@
#endif
#if __STDC_VERSION__ < 199901L
-# if __GNUC__ >= 2
+# if __GNUC__ >= 2 && !defined (__func__)
# define __func__ __FUNCTION__
# else
/* Let's try our luck here. Some systems may provide __func__ without