pkgsrc-ng/net/bind99/patches/patch-lib_dns_rbt.c
2013-09-26 17:14:40 +02:00

18 lines
457 B
C

$NetBSD: patch-lib_dns_rbt.c,v 1.1.1.1 2012/03/07 14:25:00 taca Exp $
* Disable inline on powerpc.
--- lib/dns/rbt.c.orig 2011-08-25 05:56:50.000000000 +0000
+++ lib/dns/rbt.c
@@ -177,6 +177,10 @@ Name(dns_rbtnode_t *node) {
static void dns_rbt_printnodename(dns_rbtnode_t *node);
#endif
+#if !defined(inline) && defined(__powerpc__)
+#define inline /**/
+#endif
+
static inline dns_rbtnode_t *
find_up(dns_rbtnode_t *node) {
dns_rbtnode_t *root;