aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/missing/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/PalmOS/Src/missing/string.h')
-rw-r--r--backends/PalmOS/Src/missing/string.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/missing/string.h b/backends/PalmOS/Src/missing/string.h
index 589f0369a1..dff87ff99d 100644
--- a/backends/PalmOS/Src/missing/string.h
+++ b/backends/PalmOS/Src/missing/string.h
@@ -27,6 +27,10 @@
#include "palmversion.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define memcmp MemCmp
#define memcpy MemMove
#define memmove MemMove
@@ -53,4 +57,8 @@ UInt32 strspn (const char *s1, const char *s2);
#define StrTok strtok
+#ifdef __cplusplus
+}
+#endif
+
#endif