summaryrefslogtreecommitdiff
path: root/lib/unitypes.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unitypes.in.h')
-rw-r--r--lib/unitypes.in.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/unitypes.in.h b/lib/unitypes.in.h
index be4342be..ea6a8407 100644
--- a/lib/unitypes.in.h
+++ b/lib/unitypes.in.h
@@ -20,6 +20,11 @@
/* Get uint8_t, uint16_t, uint32_t. */
#include <unistring/stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* Type representing a Unicode character. */
typedef uint32_t ucs4_t;
@@ -58,4 +63,9 @@ typedef uint32_t ucs4_t;
# endif
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _UNITYPES_H */