summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 234a6cf1f..5f14c37e4 100644
--- a/include/string.h
+++ b/include/string.h
@@ -58,6 +58,10 @@ size_t strlen(const char* s);
#pragma GCC system_header
#endif
+#ifdef __cplusplus
+#define __CORRECT_ISO_CPP_STRING_H_PROTO
+#endif
+
#include_next <string.h>
// MSVCRT, GNU libc and its derivates already have the correct prototype in