From 805fc37a06b41d6a52b2994dcfda794b0e476b4d Mon Sep 17 00:00:00 2001 From: Xavi Del Campo Date: Sat, 1 Feb 2020 00:51:53 +0100 Subject: Added missing extern "C" --- libpsx/include/string.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libpsx/include/string.h') diff --git a/libpsx/include/string.h b/libpsx/include/string.h index 5956b0d..e50f715 100644 --- a/libpsx/include/string.h +++ b/libpsx/include/string.h @@ -12,6 +12,11 @@ #ifndef _STRING_H #define _STRING_H +#ifdef __cplusplus +extern "C" +{ +#endif + #include // for backwards compatibility #include @@ -60,5 +65,8 @@ void *memmem(const void *big, size_t big_len, const void *little, size_t little_ int ffsl(long value); int ffsll(long long value); +#ifdef __cplusplus +} #endif +#endif -- cgit v1.2.3