NetBSD already ships with memrchr(3) in libc.

This patch is MIT-licensed.

Author: Kamil Rytarowski
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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to