summaryrefslogtreecommitdiff
path: root/net/tor/patches/patch-aa
blob: f125ec79d8ddfac934420aef433bbca6dac8445b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1 2005/02/02 16:41:22 jschauma Exp $

--- src/common/compat.h.orig	Wed Feb  2 10:45:31 2005
+++ src/common/compat.h	Wed Feb  2 10:44:58 2005
@@ -53,6 +53,10 @@
 #define __FUNCTION__ "???"
 #endif
 
+#if defined(__sgi) && !defined(__GNUC__) && defined(__c99)
+#define __FUNCTION__ __func__
+#endif
+
 /* ===== String compatibility */
 #ifdef MS_WINDOWS
 /* Windows names string functions differently from most other platforms. */