From 70facdb6644f11ec304de75796d2c81f983351d2 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Tue, 13 Sep 2011 10:54:22 +1000 Subject: [PATCH] Fix a compilation problem with the bootstrap jimsh Signed-off-by: Steve Bennett --- utf8.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utf8.h b/utf8.h index 2f6a191..786b13f 100644 --- a/utf8.h +++ b/utf8.h @@ -29,7 +29,8 @@ int utf8_fromunicode(char *p, unsigned short uc); #define utf8_charlen(C) 1 #define utf8_prev_len(S, L) 1 -#elif !defined(JIM_BOOTSTRAP) +#else +#if !defined(JIM_BOOTSTRAP) /** * Returns the length of the utf-8 sequence starting with 'c'. * @@ -102,7 +103,8 @@ int utf8_upper(int uc); * Does not support unicode code points > \uffff */ int utf8_lower(int uc); - #endif /* JIM_BOOTSTRAP */ #endif + +#endif -- 2.11.4.GIT