1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

- Unbreak after strnlen addition

PR:		132482
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-03-09 20:43:01 +00:00
parent 97ec589da0
commit be4df3b399
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229793

View File

@ -0,0 +1,15 @@
--- src/rccstring.h.orig 2009-03-09 13:59:14.000000000 +0100
+++ src/rccstring.h 2009-03-09 13:59:20.000000000 +0100
@@ -18,11 +18,7 @@
int rccStringFixID(rcc_string string, rcc_context ctx);
int rccStringChangeID(rcc_string string, rcc_language_id language_id);
-#ifdef HAVE_STRNLEN
-# ifndef strnlen
-int strnlen(const char *str, size_t size);
-# endif /* !strnlen */
-#else
+#ifndef HAVE_STRNLEN
int rccStrnlen(const char *str, size_t size);
#endif /* HAVE_STRNLEN */
int rccIsASCII(const char *str);