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/strings.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libpsx/include/strings.h') diff --git a/libpsx/include/strings.h b/libpsx/include/strings.h index 7e9082f..c654055 100644 --- a/libpsx/include/strings.h +++ b/libpsx/include/strings.h @@ -1,4 +1,4 @@ -/* +/* * strings.h * * PSXSDK @@ -7,6 +7,11 @@ #ifndef _STRINGS_H #define _STRINGS_H +#ifdef __cplusplus +extern "C" +{ +#endif + #include #include @@ -34,4 +39,8 @@ unsigned int popcount64(uint64_t value); int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t len); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3