This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl.h: Rmv dummy definitions
authorKarl Williamson <khw@cpan.org>
Thu, 8 Mar 2018 21:32:28 +0000 (14:32 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 12 Mar 2018 16:22:01 +0000 (10:22 -0600)
These macros are core-only, so should generate a compiler error if used
outside of core, instead of compiling as no-ops.

perl.h

diff --git a/perl.h b/perl.h
index 82c1858..b61d23e 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -5767,10 +5767,6 @@ typedef struct am_table_short AMTS;
 #   define IN_LC_COMPILETIME(category)      0
 #   define IN_LC_RUNTIME(category)          0
 #   define IN_LC(category)                  0
-
-#   define _CHECK_AND_WARN_PROBLEMATIC_LOCALE
-#   define _CHECK_AND_OUTPUT_WIDE_LOCALE_CP_MSG(a)
-#   define _CHECK_AND_OUTPUT_WIDE_LOCALE_UTF8_MSG(a,b)
 #endif
 
 #ifdef USE_LOCALE_NUMERIC