summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-11-14 22:27:06 -0700
committerKarl Williamson <khw@cpan.org>2018-01-30 22:22:07 -0700
commit61520eeebbc6694eb254adea13b7ace1d5519567 (patch)
treee3ca4f84d7fd8e328a4bfca5559dbc8cb72f09a7 /mg.c
parent01649ba471a56688287f7c30e2ac2bc39ad81e6a (diff)
downloadperl-61520eeebbc6694eb254adea13b7ace1d5519567.tar.gz
Remove uncompilable code
This code was never compiled because of a misspelling in the #ifdef. No problem surfaced, so just remove it. The next commit adds a different check.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mg.c b/mg.c
index 64e450fa8a..c6e68d6f2d 100644
--- a/mg.c
+++ b/mg.c
@@ -829,13 +829,7 @@ S_fixup_errno_string(pTHX_ SV* sv)
#ifdef USE_LOCALE_MESSAGES
- && _is_cur_LC_category_utf8(LC_MESSAGES)
-
-#elif defined(USE_LOCLAE_CTYPE)
-
- /* For systems that don't have a separate message category,
- * this assumes that they follow the CTYPE one */
- && _is_cur_LC_category_utf8(LC_CTYPE)
+ && _is_cur_LC_category_utf8(LC_MESSAGES)
#endif