From 4d8d465a12b7ff56709b3e3cdfc9377a57f02bed Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 7 Jan 2018 15:30:06 -0700 Subject: [PATCH] locale.c: Windows will never be EBCDIC This adjusts the conditional compilation so that win32 is a subset of non-EBCDIC. This will be useful in the next commit. --- locale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale.c b/locale.c index b3e1b0e..8a3e461 100644 --- a/locale.c +++ b/locale.c @@ -3601,8 +3601,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) save_input_locale)); } -# endif -# ifdef WIN32 +# ifdef WIN32 /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd317756.aspx */ if (memENDs(save_input_locale, final_pos, "65001")) { @@ -3613,7 +3612,8 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) goto finish_and_return; } -# endif +# endif +# endif /* Other common encodings are the ISO 8859 series, which aren't UTF-8. But * since we are about to return FALSE anyway, there is no point in doing -- 1.8.3.1