summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:32 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:32 +0900
commit435d1f5256782583b8b427cd7b07f71dca58b6bd (patch)
tree8171c8929397c74da321f4cf735e7f80e6aaa511 /tests
parent8601db8a702e59fe82e777c44d09d7d0a1326cb8 (diff)
downloadgpg2-435d1f5256782583b8b427cd7b07f71dca58b6bd.tar.gz
gpg2-435d1f5256782583b8b427cd7b07f71dca58b6bd.tar.bz2
gpg2-435d1f5256782583b8b427cd7b07f71dca58b6bd.zip
Imported Upstream version 2.2.5upstream/2.2.5
Diffstat (limited to 'tests')
-rw-r--r--tests/asschk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asschk.c b/tests/asschk.c
index 2595c0a..65828e5 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