mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 14:35:50 -04:00
18 lines
459 B
C
18 lines
459 B
C
$NetBSD: patch-lib_dns_rbt.c,v 1.2 2014/10/14 16:23:19 taca Exp $
|
|
|
|
* Disable inline on powerpc.
|
|
|
|
--- lib/dns/rbt.c.orig 2014-09-16 19:27:15.000000000 +0000
|
|
+++ lib/dns/rbt.c
|
|
@@ -345,6 +345,10 @@ hexdump(const char *desc, unsigned char
|
|
}
|
|
#endif /* DEBUG */
|
|
|
|
+#if !defined(inline) && defined(__powerpc__)
|
|
+#define inline /**/
|
|
+#endif
|
|
+
|
|
/* The passed node must not be NULL. */
|
|
static inline dns_rbtnode_t *
|
|
get_subtree_root(dns_rbtnode_t *node) {
|