Skip to content

Commit

Permalink
locale.c: Add compile check for unimplemented behavior
Browse files Browse the repository at this point in the history
Instead of silently not working.
  • Loading branch information
khwilliamson committed Jan 13, 2018
1 parent cc11fd0 commit 4c4b450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion locale.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 4c4b450

Please sign in to comment.