Permalink
Browse files

locale.c: Add compile check for unimplemented behavior

Instead of silently not working.
  • Loading branch information...
khwilliamson committed Jan 2, 2018
1 parent cc11fd0 commit 4c4b450f1ae88815397e1f271fd9d8ecd888b3cd
Showing with 3 additions and 1 deletion.
  1. +3 −1 locale.c
View
@@ -2062,7 +2062,9 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
trial_locale = system_default_locale;
}
# endif /* WIN32 */
# else
# error SYSTEM_DEFAULT_LOCALE only implemented for Win32
# endif
# endif /* SYSTEM_DEFAULT_LOCALE */
} /* For i > 0 */

0 comments on commit 4c4b450

Please sign in to comment.