summaryrefslogtreecommitdiff
path: root/Utilities/cmexpat/lib/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmexpat/lib/internal.h')
-rw-r--r--Utilities/cmexpat/lib/internal.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Utilities/cmexpat/lib/internal.h b/Utilities/cmexpat/lib/internal.h
index dd5454831d..94cb98e15c 100644
--- a/Utilities/cmexpat/lib/internal.h
+++ b/Utilities/cmexpat/lib/internal.h
@@ -71,3 +71,25 @@
#define inline
#endif
#endif
+
+#ifndef UNUSED_P
+# ifdef __GNUC__
+# define UNUSED_P(p) UNUSED_ ## p __attribute__((__unused__))
+# else
+# define UNUSED_P(p) UNUSED_ ## p
+# endif
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+void
+align_limit_to_full_utf8_characters(const char * from, const char ** fromLimRef);
+
+
+#ifdef __cplusplus
+}
+#endif