1 $NetBSD: patch-base_gserrors_h,v 1.1 2012/10/07 14:19:18 mef Exp $
3 This suppresses the noisy warning that __func__ redefined.
5 --- base/gserrors.h.orig 2013-02-14 07:58:13.000000000 +0000
7 @@ -60,6 +60,9 @@ int gs_log_error(int, const char *, int)
10 #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
11 +# if (defined(__func__))
14 # if defined(__GNUC__) && __GNUC__ >= 2
15 # define __func__ __FUNCTION__
16 # elif defined(__FUNCTION__)