Skip to content

Commit

Permalink
locale.c: Failure to build if not allowing LC_COLLATE
Browse files Browse the repository at this point in the history
This is part of [perl #133696].  A typo was causing a macro to be
defined in terms of itself, hence an illegal recursive definition.
  • Loading branch information
khwilliamson committed Nov 29, 2018
1 parent 78f7c09 commit 8203b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ S_category_name(const int category)
# define LC_COLLATE_INDEX _DUMMY_CTYPE + 1
# define _DUMMY_COLLATE LC_COLLATE_INDEX
# else
# define _DUMMY_COLLATE _DUMMY_COLLATE
# define _DUMMY_COLLATE _DUMMY_CTYPE
# endif
# ifdef USE_LOCALE_TIME
# define LC_TIME_INDEX _DUMMY_COLLATE + 1
Expand Down

0 comments on commit 8203b3c

Please sign in to comment.