mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-24 04:03:34 -04:00
18 lines
457 B
C
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;
|