aboutsummaryrefslogtreecommitdiffstats
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/string.h5
1 files changed, 1 insertions, 4 deletions
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.