15 lines
551 B
Text
15 lines
551 B
Text
$NetBSD: patch-base_gserrors_h,v 1.1 2013/03/16 21:32:01 dholland Exp $
|
|
# This suppresses the noisy warning that __func__ redefined
|
|
|
|
--- base/gserrors.h.orig 2012-02-08 17:48:48.000000000 +0900
|
|
+++ base/gserrors.h 2012-03-24 07:26:35.000000000 +0900
|
|
@@ -53,6 +53,9 @@
|
|
#define return_error(err) return gs_note_error(err)
|
|
|
|
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
|
|
+# if (defined(__func__))
|
|
+# undef __func__
|
|
+# endif
|
|
# if defined(__GNUC__) && __GNUC__ >= 2
|
|
# define __func__ __FUNCTION__
|
|
# elif defined(__FUNCTION__)
|