From feb2967838febb40550eb175a835a14d3b0d04d4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 18:07:31 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/string.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/string.h') diff --git a/include/string.h b/include/string.h index 4895cad..30131de 100644 --- a/include/string.h +++ b/include/string.h @@ -199,7 +199,7 @@ void* mempcpy(void* restrict, const void* restrict, size_t); */ void* memmove(void*, const void*, size_t); -#if defined(_SLIBC_SOURCE) && defined(_GNU_SOURCE) +#if defined(_SLIBC_SOURCE) && defined(_GNU_SOURCE) && !defined(__PORTABLE) /** * Copy a memory segment to another, possibly overlapping, segment. * @@ -855,9 +855,6 @@ char* strrchr(const char*, int) __GCC_ONLY(__attribute__((warn_unused_result, nonnull, pure))); -/* TODO Add case insensitive character searching functions. */ - - /** * Finds the first occurrence of a substring. * This search is case sensitive. -- cgit v1.2.3-70-g09d2