Skip to content

Commit 51844f8

Browse files
committed
-DNO_LOCALE implies -DNO_LOCALE_COLLATE
This is a follow-on to the following commit, which somehow missed this category. commit 08123d8 Author: Karl Williamson <[email protected]> Date: Tue Dec 19 15:00:33 2023 -0700 -DNO_LOCALE implies -DNO_LOCALE_CTYPE, etc. If we aren't to pay attention to locales in general; we certainly shouldn't be paying attention to individual locale categories. This commit allows for cleaner #ifdefs
1 parent defd3f3 commit 51844f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale_table.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
/* Perl outsources all its collation efforts to the libc strxfrm(), so
5858
* if it isn't available on the system, default "C" locale collation
5959
* gets used */
60-
# if defined(NO_LOCALE_COLLATE) || ! defined(HAS_STRXFRM)
60+
# if defined(NO_LOCALE) || defined(NO_LOCALE_COLLATE) || ! defined(HAS_STRXFRM)
6161

6262
PERL_LOCALE_TABLE_ENTRY(COLLATE, NULL)
6363

0 commit comments

Comments
 (0)