summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/bibtex-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/bibtex/bibtex-x/bibtex-4.c')
-rw-r--r--biblio/bibtex/bibtex-x/bibtex-4.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/biblio/bibtex/bibtex-x/bibtex-4.c b/biblio/bibtex/bibtex-x/bibtex-4.c
index 0c5bca2536..0a9b09b9a4 100644
--- a/biblio/bibtex/bibtex-x/bibtex-4.c
+++ b/biblio/bibtex/bibtex-x/bibtex-4.c
@@ -2818,9 +2818,12 @@ BEGIN
case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D:
case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E:
case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F:
-#if defined(UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G)
+#if defined(U_ICU_VERSION_MAJOR_NUM) && (U_ICU_VERSION_MAJOR_NUM > 65)
case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G:
#endif
+#if defined(U_ICU_VERSION_MAJOR_NUM) && (U_ICU_VERSION_MAJOR_NUM > 71)
+ case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H:
+#endif
string_width |= 0x001;
break;
/* kana */
@@ -2828,10 +2831,10 @@ BEGIN
case UBLOCK_KATAKANA:
case UBLOCK_KATAKANA_PHONETIC_EXTENSIONS:
case UBLOCK_KANA_EXTENDED_A:
-#if defined(UBLOCK_KANA_EXTENDED_B)
+#if defined(U_ICU_VERSION_MAJOR_NUM) && (U_ICU_VERSION_MAJOR_NUM > 69)
case UBLOCK_KANA_EXTENDED_B:
#endif
-#if defined(UBLOCK_SMALL_KANA_EXTENSION)
+#if defined(U_ICU_VERSION_MAJOR_NUM) && (U_ICU_VERSION_MAJOR_NUM > 63)
case UBLOCK_SMALL_KANA_EXTENSION:
#endif
string_width |= 0x002;