Skip to content

Commit

Permalink
handy.h: Don't use char class if no LC_CTYPE
Browse files Browse the repository at this point in the history
It is possible to compile perl to not pay attention to LC_CTYPE.  This
was testing for no locales at all; whereas the stricter requirement
should be used.
  • Loading branch information
khwilliamson committed May 9, 2021
1 parent b10d1b5 commit 6bd9be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handy.h
Expand Up @@ -763,7 +763,7 @@ based on the underlying C library functions):
* macros that contain _LC in their names
*/

#ifdef USE_LOCALE
#ifdef USE_LOCALE_CTYPE
# ifndef CTYPE256
# define CTYPE256
# endif
Expand Down

0 comments on commit 6bd9be9

Please sign in to comment.