summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index 02e931e..f11e388 100644
--- a/include/string.h
+++ b/include/string.h
@@ -5,7 +5,10 @@
5 5
6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
7 7
8#ifndef __cplusplus 8#ifdef __cplusplus
9extern "C" {
10#endif
11
9#undef memcpy 12#undef memcpy
10#undef memmove 13#undef memmove
11#undef memset 14#undef memset
@@ -181,6 +184,8 @@ size_t strlcpy(char *dest, const char *src, size_t n)
181} 184}
182#endif 185#endif
183 186
187#ifdef __cplusplus
188}
184#endif 189#endif
185 190
186#endif 191#endif