This allows a build to complete with PERL_UNICODE set and a UTF-8 locale.
Without this there's a bootstrapping problem, as miniperl can't load the UTF-8
components of the regexp engine, because they're not yet built.
#if defined(__SYMBIAN32__)
PL_unicode = PERL_UNICODE_STD_FLAG; /* See PERL_SYMBIAN_CONSOLE_UTF8. */
#endif
+# ifndef PERL_IS_MINIPERL
if (PL_unicode) {
/* Requires init_predump_symbols(). */
if (!(PL_unicode & PERL_UNICODE_LOCALE_FLAG) || PL_utf8locale) {
}
}
}
+#endif
{
const char *s;
print "1..0 # Skip: not perlio\n";
exit 0;
}
+ if ($ENV{PERL_CORE_MINITEST}) {
+ print "1..0 # Skip : -C and \$ENV{PERL_UNICODE} are disabled on miniperl\n";
+ exit 0;
+ }
+
}
BEGIN { require "./test.pl"; }