aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 90efef8..a81b3de 100644
--- a/utf8.c
+++ b/utf8.c
@@ -33,7 +33,7 @@ int utf8_fromunicode(char *p, unsigned short uc)
}
}
-#ifdef JIM_UTF8
+#if defined(JIM_UTF8) && !defined(JIM_BOOTSTRAP)
int utf8_charlen(int c)
{
if ((c & 0x80) == 0) {
@@ -189,4 +189,4 @@ int utf8_lower(int uc)
return utf8_map_case(uc, 0);
}
-#endif
+#endif /* JIM_BOOTSTRAP */