aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-09-13 10:54:22 +1000
committerSteve Bennett <steveb@workware.net.au>2011-09-13 10:54:41 +1000
commit70facdb6644f11ec304de75796d2c81f983351d2 (patch)
tree00c15a85cd7a43bc5603dc180a76e253a14ecac0 /utf8.h
parent5780aaddcf87434e18c807608d876900d8f80c4f (diff)
downloadjimtcl-70facdb6644f11ec304de75796d2c81f983351d2.zip
jimtcl-70facdb6644f11ec304de75796d2c81f983351d2.tar.gz
jimtcl-70facdb6644f11ec304de75796d2c81f983351d2.tar.bz2
Fix a compilation problem with the bootstrap jimsh
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h6
1 files 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