File tree 2 files changed +12
-13
lines changed
2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 14
14
#ifdef USE_ICU
15
15
#include <unicode/ucnv.h>
16
16
#include <unicode/ustring.h>
17
+
18
+ /*
19
+ * ucol_strcollUTF8() was introduced in ICU 50, but it is buggy before ICU 53.
20
+ * (see
21
+ * <https://www.postgresql.org/message-id/flat/f1438ec6-22aa-4029-9a3b-26f79d330e72%40manitou-mail.org>)
22
+ */
23
+ #if U_ICU_VERSION_MAJOR_NUM >= 53
24
+ #define HAVE_UCOL_STRCOLLUTF8 1
25
+ #else
26
+ #undef HAVE_UCOL_STRCOLLUTF8
27
+ #endif
28
+
17
29
#endif
18
30
19
31
#include "access/htup_details.h"
Original file line number Diff line number Diff line change 16
16
#include <unicode/ucol.h>
17
17
#endif
18
18
19
- #ifdef USE_ICU
20
- /*
21
- * ucol_strcollUTF8() was introduced in ICU 50, but it is buggy before ICU 53.
22
- * (see
23
- * <https://www.postgresql.org/message-id/flat/f1438ec6-22aa-4029-9a3b-26f79d330e72%40manitou-mail.org>)
24
- */
25
- #if U_ICU_VERSION_MAJOR_NUM >= 53
26
- #define HAVE_UCOL_STRCOLLUTF8 1
27
- #else
28
- #undef HAVE_UCOL_STRCOLLUTF8
29
- #endif
30
- #endif
31
-
32
19
/* use for libc locale names */
33
20
#define LOCALE_NAME_BUFLEN 128
34
21
You can’t perform that action at this time.
0 commit comments