[vbox-dev] NetBSD patch 0011: NetBSD already ships with memrchr(3) in libc.

Kamil Rytarowski n54 at gmx.com
Sun Aug 7 11:19:43 GMT 2016


NetBSD already ships with memrchr(3) in libc.

This patch is MIT-licensed.

Author: Kamil Rytarowski
-------------- next part --------------
NetBSD already ships with memrchr(3) in libc.

This patch is MIT-licensed.

Author: Kamil Rytarowski

Index: include/iprt/string.h
===================================================================
--- include/iprt/string.h	(wersja 63022)
+++ include/iprt/string.h	(kopia robocza)
@@ -113,7 +113,7 @@
 RT_C_DECLS_END
 #endif
 
-#if (!defined(RT_OS_LINUX) || !defined(_GNU_SOURCE)) && !defined(RT_OS_FREEBSD)
+#if (!defined(RT_OS_LINUX) || !defined(_GNU_SOURCE)) && !defined(RT_OS_FREEBSD) && !defined(RT_OS_NETBSD)
 RT_C_DECLS_BEGIN
 void *memrchr(const char *pv, int ch, size_t cb);
 RT_C_DECLS_END
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160807/fb416ff5/attachment.sig>


More information about the vbox-dev mailing list