summaryrefslogtreecommitdiffstats
path: root/intl/relocatable.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/relocatable.h')
-rw-r--r--intl/relocatable.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/intl/relocatable.h b/intl/relocatable.h
index d141200a6..48c5b71e2 100644
--- a/intl/relocatable.h
+++ b/intl/relocatable.h
@@ -20,6 +20,11 @@
#ifndef _RELOCATABLE_H
#define _RELOCATABLE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* This can be enabled through the configure --enable-relocatable option. */
#if ENABLE_RELOCATABLE
@@ -64,4 +69,9 @@ extern const char * compute_curr_prefix (const char *orig_installprefix,
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RELOCATABLE_H */