$NetBSD: patch-ac,v 1.1 2006/07/28 12:26:18 rillig Exp $

__PRETTY_FUNCTION__ is a GNUism.

--- util/neo_err.h.orig	2005-06-30 20:59:37.000000000 +0200
+++ util/neo_err.h	2006-07-28 13:22:03.890389580 +0200
@@ -54,6 +54,14 @@ typedef struct _neo_err 
 } NEOERR;
 
 
+#if defined(__GNUC__)
+/* GNU C provides __PRETTY_FUNCTION__ */
+#elif defined(__SUNPRO_C)
+#  define __PRETTY_FUNCTION__ __func__
+#else
+#  define __PRETTY_FUNCTION__ "(function name)"
+#endif
+
 /*
  * function: nerr_raise
  * description: Use this method to create an error "exception" for
