diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-12 14:35:45 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-12 15:04:54 -0600 |
commit | 91191cf732548d9b59655daee2195082e6ce0082 (patch) | |
tree | 88bc66ec0ad9d5905e6edc21c11f0ab053b27fef /pp_sort.c | |
parent | 5a6bb681360972ef854d7b6b457148c9b1aa61a8 (diff) | |
download | perl-91191cf732548d9b59655daee2195082e6ce0082.tar.gz |
Fix some compilation warnings
After commits d6ded95025185cb1ec8ca3ba5879cab881d8b180 and
130c5df3625bd130cd1e2771308fcd4eb66cebb2, there are some compilation
warnings if not all locale categories are used.
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2001,6 +2001,8 @@ S_amagic_cmp(pTHX_ SV *const str1, SV *const str2) return sv_cmp(str1, str2); } +#ifdef USE_LOCALE_COLLATE + static I32 S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2) { @@ -2022,6 +2024,8 @@ S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2) return sv_cmp_locale(str1, str2); } +#endif + /* * Local variables: * c-indentation-style: bsd |