diff options
author | Karl Williamson <khw@cpan.org> | 2020-11-30 09:25:52 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-12-04 14:43:12 -0700 |
commit | 9289d4dc7a3d24b20c6e25045e687321ee3e8faf (patch) | |
tree | 502f80af81d77eada22da710e52353700b66d362 /locale.c | |
parent | b96bd7bfd7bbd0ba78cbebd0f4437bef81209655 (diff) | |
download | perl-9289d4dc7a3d24b20c6e25045e687321ee3e8faf.tar.gz |
locale.c: Fix typo in #ifdef
This misspelling led to the code assuming that the platform didn't have
a feature that, if used, would result in faster execution.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2621,7 +2621,7 @@ S_my_nl_langinfo(const int item, bool toggle) #if defined(HAS_NL_LANGINFO) /* nl_langinfo() is available. */ # if ! defined(HAS_THREAD_SAFE_NL_LANGINFO_L) \ || ! defined(HAS_POSIX_2008_LOCALE) \ - || ! defined(DUPLOCALE) + || ! defined(HAS_DUPLOCALE) /* Here, use plain nl_langinfo(), switching to the underlying LC_NUMERIC * for those items dependent on it. This must be copied to a buffer before |