Skip to content

Commit

Permalink
ICU-22374 guard gCollationBinKey behind if !UCONFIG_NO_COLLATION
Browse files Browse the repository at this point in the history
See #2442
  • Loading branch information
srl295 committed Aug 24, 2024
1 parent 5e22f00 commit 9bb4536
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions icu4c/source/common/uresdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1040,13 +1040,10 @@ enum {
/* The table item key string is not locally available. */
static const char *const gUnknownKey="";

/* resource table key for collation binaries: "%%CollationBin" */
static const char16_t gCollationBinKey[]={
0x25, 0x25,
0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0x69, 0x6e,
0
};
#if !UCONFIG_NO_COLLATION
// resource table key for collation binaries
static const char16_t gCollationBinKey[]=u"%%CollationBin";
#endif

/*
* swap one resource item
Expand Down

0 comments on commit 9bb4536

Please sign in to comment.