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/strings.h | |
| parent | 5f638ea86cd1ee29ab9942ba32ae87c12bb1fb0f (diff) | |
| download | psxsdk-805fc37a06b41d6a52b2994dcfda794b0e476b4d.tar.gz | |
Added missing extern "C"
Diffstat (limited to 'libpsx/include/strings.h')
| -rw-r--r-- | libpsx/include/strings.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 <string.h> #include <types.h> @@ -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 |
