summaryrefslogtreecommitdiff
path: root/net/bind910/patches/patch-lib_dns_rbt.c
blob: ffe02fbf8259ced382aae95de5a89fac996cb045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-lib_dns_rbt.c,v 1.3 2016/05/02 13:27:57 taca Exp $

* Disable inline on powerpc.

--- lib/dns/rbt.c.orig	2016-04-20 20:11:20.000000000 +0000
+++ lib/dns/rbt.c
@@ -348,6 +348,10 @@ hexdump(const char *desc, unsigned char 
 }
 #endif /* DEBUG */
 
+#if !defined(inline) && defined(__powerpc__)
+#define        inline  /**/
+#endif
+
 #ifdef DNS_RBT_USEHASH
 
 /*