summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/gblprocs.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/bibtex-x/gblprocs.h')
-rw-r--r--Build/source/texk/bibtex-x/gblprocs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/bibtex-x/gblprocs.h b/Build/source/texk/bibtex-x/gblprocs.h
index 7d441a71228..c3be6c9c5d1 100644
--- a/Build/source/texk/bibtex-x/gblprocs.h
+++ b/Build/source/texk/bibtex-x/gblprocs.h
@@ -115,6 +115,7 @@ int32_t icu_strToUpper (UChar * tarup,
int32_t tucap,
UChar * target,
int32_t tarlen);
+#define utf8len(a) ((a)<0x80 ? 1 : ((a)<0xc2 ? -2 : ((a)<0xe0 ? 2 : ((a)<0xf0 ? 3 : ((a)<0xf5 ? 4 : -1)))))
#endif
void a_close (const AlphaFile_T file_pointer);
Boolean_T a_open_in (AlphaFile_T *file_pointer,