diff options
| author | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-02-01 00:51:53 +0100 |
|---|---|---|
| committer | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-02-01 00:51:53 +0100 |
| commit | 805fc37a06b41d6a52b2994dcfda794b0e476b4d (patch) | |
| tree | 479afad552bf982e36c845fa416ce074a87ab208 /libpsx/include/string.h | |
| parent | 5f638ea86cd1ee29ab9942ba32ae87c12bb1fb0f (diff) | |
| download | psxsdk-805fc37a06b41d6a52b2994dcfda794b0e476b4d.tar.gz | |
Added missing extern "C"
Diffstat (limited to 'libpsx/include/string.h')
| -rw-r--r-- | libpsx/include/string.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <strings.h> // for backwards compatibility #include <types.h> @@ -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 |
