diff options
author | NIIBE Yutaka <[email protected]> | 2018-01-29 00:34:37 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-01-29 00:34:37 +0000 |
commit | 64aa98c8a05513d9c00f53a2b880d80f9035333e (patch) | |
tree | cb71ac5fded4d808508502cff803f165a4ab8679 | |
parent | dirmngr: Improve assuan error comment for cmd keyserver. (diff) | |
download | gnupg-64aa98c8a05513d9c00f53a2b880d80f9035333e.tar.gz gnupg-64aa98c8a05513d9c00f53a2b880d80f9035333e.zip |
tests: Fix for NetBSD with __func__.
* tests/asschk.c: Don't define __func__ if available.
--
NetBSD 7.0 has __func__ defined.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | tests/asschk.c | 2 |
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 |